IsDate

Determine whether a given value is a date object or a date string.

Method Signature

IsDate(date=[any], locale=[string], timezone=[string])

Arguments

Argument
Type
Required
Description
Default

date

any

true

Value to test for date-ness

locale

string

false

Optional ISO locale string to use for parsing the date/time string.

timezone

string

false

Optional timezone to use for parsing the date/time string.

Examples

Last updated

Logo

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