Skip to content

DateTime Functions

Nilesh Ghodekar edited this page Jan 8, 2016 · 7 revisions

DateTime Functions

Function Description
After Returns a Boolean value indicating whether the first date is later than the second.
Before Returns a Boolean value indicating whether the first date is earlier than the second.
DateTimeAdd Adds (or Subtracts) a timespan to/from the supplied date/time.
DateTimeFormat Formats the value of the first DateTime parameter in the format specified in the second string parameter.
DateTimeFromFileTimeUTC Converts the specified Windows file time to an equivalent UTC time.
DateTimeNow Returns the current date/time in UTC.
DateTimeSubtract Returns the timespan between the two dates.
DateTimeToFileTimeUTC Converts a date in the Windows file time format.
Clone this wiki locally