Equinox Online Help - Language Reference - A to Z
ServerDateTime |
|
|---|---|
| Applies to | ![]() |
| Syntax | ServerDateTime [DateItem, TimeItem] |
| Action | [Function] Returns the date and/or time from the server |
| Scope | Usable anywhere |
| Notes | Returns the current date and/or time in the two optional parameters. If the application is networked, the server date and time are returned. Otherwise the local date and time are used. |
| Category | Date handling |
| See Also | Years, Year, Dayname, Dayofweek, Dayofyear, Dmy, Dmyadd, Leapyear, Month, MonthName, Months, Today, Week, WeekOfYear, WeekStart |
| Example | This example saves the server date and time in the current record ServerDateTime OrderDate, OrderTime SaveRecord |
