Description:
Get the current system datetime.
Syntax:
now()
Note:
The function gets the current system datetime accurate to the millisecond.
Options:
@d |
Return the date part only, date type |
@t |
Return the time part only, time type |
@m |
Acurrate to minute |
@s |
Accurate to second |
Return value:
Datetime
Example:
now() |
The current system datetime, for example: 2010-07-15 16:10:40 |
now@d() |
The current system date, for example:2010-07-15 |
now@t() |
The current system time, for example:16: 10: 40 |
now@m() |
The current system datetime, for example:2013-12-09 17:05:00:0 |
now@s() |
Current system datetime, for example:2013-12-09 17:05:33:0 |