DatePart

Extracts a part from a datetime value as a numeric.

Method Signature

DatePart(datepart=[string], date=[any], timezone=[string])

Arguments

Argument
Type
Required
Description
Default

datepart

string

true

The part of the date to extract.

date

any

true

The date to extract the part from.

timezone

string

false

An optional, explicit timezone to apply to the date.

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC