time( datetimeExp )

Read(215) Label: datetime value, get the time,

Description:

Get the time part from the datetime value.

Syntax:  

time(datetimeExp)

Note:  

The function gets the time part from the datetime value datetimeExp. The result is accurate to millisecond by default. The format must be consistent with the time format in the configure information. By default, the configure information will not be displayed in millisecond.

Parameters:  

datetimeExp

Datetime data

Options:

@m

Accurate to minute

@s

Accurate to second

Return value:

Time value

Example:

time(now())

16:28:26400

time@s(now())

16:28:260

time@m(now())

16:28:000

Related functions:

date()

date(datetimeExp)

datetime(datetimeExp)

datetime()

time()