IsDateTime Function

  • Updated

The IsDateTime function determines if an expression is a valid DateTime.

Syntax

 

The IsDateTime function determines if an expression is a valid DateTime.

 

IsDateTime(expression)

 

 

Arguments:

 

 

 

expression

Expression - string expression to check.

Remarks

  • Example: IsDateTime("12/31/2005 6:00:00 PM") returns true.
  • Example: IsDateTime("2005-12-31T18:00:00") returns true.
  • Example: IsDateTime("2013-13-40") returns false.
  • Example: IsDateTime("3:00pm") returns false.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.