Second Function

  • Updated

The Second function returns the seconds for a given DateTime (0 to 59).

Syntax 1

 

The Second function returns the seconds for a given DateTime (0 to 59).

 

Second()

Syntax 2

 

The Second function returns the seconds for a given DateTime (0 to 59).

 

Second(dateTime)

 

 

Arguments:

 

 

 

dateTime

DateTime - A date-time.

Remarks

  • If a Date (not a DateTime) is passed, the function returns 0.
  • Example: Second("2005-1-28T22:10:45") returns 45.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.