The following functions are used with date, time and calendar.
Function | Description |
Calendar |
Returns HTML code of the icon that displays a standard calendar window if clicked. |
CalendarDate |
Returns HTML code of the icon that displays a standard calendar window if clicked. The date selected is then pasted in the specified form field. |
CalendarPeriod |
Returns the HTML code of two input fields with icons. Icons display a standard calendar window if clicked. The first field also has a drop-down list with values from 1 to 90. If a user selects a value in the list, the first input field is set to
the current date less number of days selected. |
ParseDateTime |
Parses the specified date and time using the passed formatting rules. |
ConvertDateTime |
Takes the date and time specified in the format of the current site and converts it to an arbitrary format. |
MakeTimeStamp |
Converts the time passed in string to the Unix format. |
ConvertTimeStamp |
Converts time from the Unix format to string of the site format. |
AddToTimeStamp |
Adds the specified time span to a date in Unix format. |
getmicrotime |
Returns the current time in Unix format. |
See Also