now {FastRet} | R Documentation |
now function
Description
Returns the current system time formatted according to the provided format string.
Usage
now(format = "%Y-%m-%d %H:%M:%OS2")
Arguments
format |
A string representing the desired time format. Default is "%Y-%m-%d %H:%M:%OS2". |
Value
A string representing the current system time in the specified format.
Examples
now() # e.g. "2024-06-12 16:09:32.41"
now("%H:%M:%S") # e.g. "16:09:32"
[Package FastRet version 1.1.4 Index]