Date and Time Operations
This page provides documentation for date and time operations available through the API.
Overview
The Date and Time operations provide various methods to work with dates, times, and timestamps. These methods allow you to get current time information, extract components from dates, and perform time-related calculations.
Available Methods
Current Time
TimeCurrent: Returns the current timeTimeGMT: Returns the current GMT timeTimeLocal: Returns the current local timeTimeGMTOffset: Returns the difference between GMT and local time
Date Components
Day: Returns the current day of monthMonth: Returns the current monthYear: Returns the current yearDayOfWeek: Returns the current day of weekDayOfYear: Returns the current day of yearGetDayOfMonthByDateTime: Returns day of month from FTODateGetMonthByDateTime: Returns month from FTODateGetWeekByDateTime: Returns week number from FTODateGetYearByDateTime: Returns year from FTODate
Time Components
Time Extraction
TimeDay: Extracts day from timestampTimeMonth: Extracts month from timestampTimeYear: Extracts year from timestampTimeHour: Extracts hour from timestampTimeMinute: Extracts minute from timestampTimeSeconds: Extracts seconds from timestampTimeDayOfWeek: Extracts day of week from timestampTimeDayOfYear: Extracts day of year from timestamp
Time Conversion
StructToTime: Converts FTODate to timestampTimeToStruct: Converts timestamp to FTODate
Time Settings
TimeDaylightSavings: Returns daylight savings time offset
Click on any method name to view its detailed documentation.
Last updated