Equinox Online Help - Language Reference - A to Z

Home

ServerDateTime

Applies to
SyntaxServerDateTime [DateItem, TimeItem]
Action[Function] Returns the date and/or time from the server
ScopeUsable 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.

CategoryDate 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