Home mm2k6 Help Files Procedures Time and Date Procedures
21 | 04 | 2018
Time and Date Procedures
Article Index
Time and Date Procedures
ReadableTime
Parts of Time
All Pages
@Hour@Minute 
@Month@ReadableTime@Second
@Time@TimeToDay@TimeToDayOfWeek
@TimeToHour@TimeToMinute@TimeToMonth
@TimeToSecond @TimeToYear @Year

@ReadableTime(#)

Use 12 or 24 in place of # for the time format you wish
12 is for standard 12hr am/12hr pm, 24 is for military time

@Hour()

Returns the hour of the current time. Between 0 and 23.

@Minute()

Returns the minutes of the current time. Between 0 and 59.

@Month()

Returns the month number of the current date. Between 1 and 12.


@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.