MoneyWorks Manual
Time ()
Result Type: DateTime
Definition: Same as Today() except not rounded down to nearest midnight (i.e. has second accuracy). To be useful you need to format as text using a format that includes hours, minutes and seconds.
Examples: DateToText(Time(), -4)
— returns 3:12:37 PM
DateToText(Time(), -7)
— returns 20060830151237
Note this example will not work as expected in Acme Widgets, since Acme Widgets exists in a time warp, with a demo date
See Also:
CalcDueDate: Calculate a due date for given terms
CurrentPeriod: Get the current period number
Date: Convert d,m,y to a date
DateToPeriod: Convert a date to a period
DateToText: Format a date as a string
Day: Get the Day of month of a date
DayOfWeek: Get The weekday of a date
FirstUnlockedPeriod: Get the oldest period that is not locked
Month: Get the month of a date
PeriodName: Get the Name of a period
PeriodOffset: Difference between two periods
PeriodToDate: Get the end date of a period
TextToDate: Parse a string to a date
TimeAdd: Add seconds to a DateTime
TimeDiff: The difference, in seconds, between two DateTimes
Timestamp: A timestamp string
Today: Today's date
WeekOfYear: Convert a date to a week number
Year: Year of a date