Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Compare Different Date Time Format Older Newer
strTitle = "Expiration" strExpireDate = "08/21/2014" ; Could be YYYY:MM:DD or other date formats. ymdExpireDate = ObjectType("date", strExpireDate) ymdToday = TimeYmdHms() ; YYYY:MM:DD:HH:MM:SS If ymdToday >= ymdExpireDate Message(strTitle, " This Programs has expired on :%strExpireDate%") Exit Else Message(strTitle, " This Programs has NOT expired.") EndIf
Article ID: W18305
Filename: Compare Different Date Format Trick.txt
File Created: 2013:08:23:10:02:48
Last Updated: 2013:08:23:10:02:48