Updated
FunctionDatestring

Library "FunctionDatestring"
Methods to stringify date/time, altho there is already builtin support for it.
datetime(unixtime) a stringified date stamp at specified unix time.
Parameters:
Returns: string
date_(unixtime) a stringified date stamp at specified unix time.
Parameters:
Returns: string
time_(unixtime) a stringified date stamp at specified unix time.
Parameters:
Returns: string
Methods to stringify date/time, altho there is already builtin support for it.
datetime(unixtime) a stringified date stamp at specified unix time.
Parameters:
- unixtime: int unix timestamp.
Returns: string
date_(unixtime) a stringified date stamp at specified unix time.
Parameters:
- unixtime: int unix timestamp.
Returns: string
time_(unixtime) a stringified date stamp at specified unix time.
Parameters:
- unixtime: int unix timestamp.
Returns: string
Release Notes
v2Updated:
datetime(unixtime, format) a stringified date stamp at specified unix time.
Parameters:
unixtime: int unix timestamp.
format: string, string format of the returned time, follows same convetions as str.format(), variables {x} range (0 -> 5).
Returns: string
Release Notes
v3Updated:
date_(unixtime, format) a stringified date stamp at specified unix time.
Parameters:
unixtime: int unix timestamp.
format: string, string format of the returned time, follows same convetions as str.format(), variables(0: year, 1:month, 2:day).
Returns: string
time_(unixtime, format) a stringified date stamp at specified unix time.
Parameters:
unixtime: int unix timestamp.
format: string, string format of the returned time, follows same convetions as str.format(), variables (0:hour, 1:minutes, 2:seconds).
Returns: string
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.