Time

Some convenience functions for dealing with C's time functions.

Members

Static functions

month_day
cstring month_day(cstring timeStr)

Returns the month and day of timeStr: Mmm dd

now
char[] now()

Returns the current date as a string.

time
cstring time(cstring timeStr)

Returns the time of timeStr: hh:mm:ss

year
cstring year(cstring timeStr)

Returns the year of timeStr: yyyy

Meta