Dates

Prev Next Home Home Table Of Contents Index

DATES

Dates in MarxMenu are stored as the number of seconds since January 1, 1980. This gives MarxMenu a date range of 68 years. By subtracting two dates, you get the number of seconds between two periods of time.

MarxMenu has several commands that convert text strings to dates. Here are some examples of how MarxMenu sees text dates.


 Examples:
   '4-7-91'                 ;04-07-1991 00:00:00
   'April 7th, 1991 4:35pm' ;04-07-1991 16:35:00
   '12:35:23a'              ;04-07-1991 00:35:23
   '3:15'                   ;04-07-1991 03:15:00

If the string can't be converted, then the variable BadDate is set to true.

MarxMenu can also convert dates to strings by using the DateString and TimeString commands.

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home