Previous Topic

Next Topic

Date Functions

Function

Description

AddMonths

Adds the number of Months specified to Date.

Date

Returns the current machine date.

DateAvailable

Check if date is available for module (and user).

DateValue

Returns a date value for a date string.

Day

Returns the day value for a date.

DayOfWeek

Returns day of week for a Date, as a number from 1 to 7 numbering from Sunday as 1.

FormatDateDifference

Converts a Date / Time difference into a number of hours, minutes, seconds and milliseconds string formatted value.

FormatDateTime

Date/time formatted as a string.

ISOWeekNo

Returns the ISO 8601 week of the year for a Date.

LocalDateTimeFromISOString

Converts parameter into a datetime.

LocalDateTimeToUTC

Converts a local timezone datetime to UTC.

MakeDate

Returns a date from Year, Month and Day inputs.

MakeTime

Returns a time from Hour, Minutes and optionally seconds and milliseconds inputs.

MaxDate

Returns the maximum date from a set of dates.

MinDate

Returns the minimum date from a set of dates.

Month

Returns the month value for a date.

SetSystemDate

Sets the System Date to the Date specified.

Sleep

Pause execution for specified number of Milliseconds.

SystemDate

Returns the current System Date.

TermsDate

Returns Date based on terms parameters.

Time

Returns the current machine time.

TimeValue

Returns a time value for a string.

TimeZoneOffset

Returns the current local timezone offset in minutes.

UTCDateTimeToLocal

Converts a UTC datetime to local timezone datetime.

WeekNo

Returns the week of the year a date occurs in.

Year

Returns the year value for a date.

In This Section

AddMonths - MaxBasic Function

Date - MaxBasic Function

DateAvailable - MaxBasic Function

DateValue - MaxBasic Function

Day - MaxBasic Function

DayOfWeek - MaxBasic Function

FormatDateDifference - MaxBasic Function

FormatDateTime - MaxBasic Function

ISOWeekNo

MakeDate - MaxBasic Function

LocalDateTimeFromISOString - MaxBasic function

LocalDateTimeToUTC - MaxBasic Function

MakeTime - MaxBasic Function

MaxDate - MaxBasic Function

MinDate - MaxBasic Function

Month - MaxBasic Function

SetSystemDate - MaxBasic Function

Sleep - MaxBasic Function

SystemDate - MaxBasic Function

TermsDate - MaxBasic Function

Time - MaxBasic Function

TimeValue - MaxBasic Function

TimeZoneOffset - MaxBasic Function

WeekNo - MaxBasic Function

UTCDateTimeToLocal - MaxBasic Function

Year - MaxBasic Function

See Also

MaxBasic Functions

Book Contents

Book Index