- Web Studio Help
- Appendix: Built-in Scripting Language
- Date & Time functions
Date & Time functions
These functions are used to interact with the system clock or manipulate timestamps.
- ClockGetDate
This function calculates the date that corresponds to a specified number of seconds that have elapsed since 12:00 AM GMT on January 1, 1970. - ClockGetDayOfWeek
This function calculates the day of the week that corresponds to a specified number of seconds that have elapsed since 12:00 AM GMT on January 1, 1970. - ClockGetTime
This function calculates the time that corresponds to a specified number of seconds that have elapsed since 12:00 AM GMT on January 1, 1970. - DateTime2Clock
This function calculates how many seconds have elapsed since 12:00 AM GMT on January 1, 1970, given a specified date and time. - DateTime2UTC
This function converts a date and time from the specified time zone to Coordinated Universal Time (UTC). - GetClock
This function gets how many seconds have elapsed since 12:00 AM GMT on January 1, 1970, according to the system clock. - GetTimeZone
This function gets a specified time zone name or index. - GetTimeZoneCount
This function gets the number of available time zones on the local computer. - GetUTC
This function gets the current Coordinated Universal Time (UTC) on the local computer. - Hour2Clock
Converts time in the HH:MM:SS format into seconds. - SetSystemDate
Sets the date in the operating system’s clock. - SetSystemTime
Sets the time in the operating system’s clock. - SetTimeZone
This function sets the time zone for the Viewer module / thin client, separate from the local computer’s system settings. - UTC2DateTime
This function converts a date and time from Coordinated Universal Time (UTC) to the specified time zone.
Parent topic: Appendix: Built-in Scripting Language
InduSoft Web Studio -Technical Reference