Home mm2k6 Help Files Procedures Time and Date Procedures - Parts of Time
22 | 01 | 2018
Time and Date Procedures - Parts of Time
Article Index
Time and Date Procedures
ReadableTime
Parts of Time
All Pages

@Time()

Returns the number of seconds elapsed since January 1, 1970. Time can be used to create your own online timers. If you put the result of  @Time() in a variable, then later on get the value of time again, you can subtract them for the number of seconds elapsed. The value from @Time() is also used for all the functions below.

@TimeToDay(time value)

Returns the day of the month.

@TimeToDayOfWeek(time value)

Returns the day of the week. 0 = Sunday, 6 = Saturday.

@TimeToHour(time value)

Returns the hour of the day.

@TimeToMinute(time value)

Returns the minute of the hour.

@TimeToMonth(time value)

Returns the month of the year.

@TimeToSecond(time value)

Returns the seconds of the minute.

@TimeToYear(time value)

Returns the year.

@Year()

Returns the year of the current date.