ICI Modules: str: ptime
Modules by name : by typeSynopsis
struct = str.ptime(string)Description
Parse a date/time in the given string and return a struct object containing the various date and time fields as members. This struct is compatible with ICI's calendar() function and contains the following keys and values,
- year, the year - 1900
- mon, month of the year, 0 - 11
- mday, day of the month
- hour, hour of the day
- min, minute of the hour
- sec, seconds within minute
- wday, day of the week, 0 (Sunday) - 6