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:
- 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
Updated:
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
Updated:
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
Pine Bibliothek
Ganz im Sinne von TradingView hat dieser Autor seinen/ihren Pine Code als Open-Source-Bibliothek veröffentlicht. Auf diese Weise können nun auch andere Pine-Programmierer aus unserer Community den Code verwenden. Vielen Dank an den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Veröffentlichungen verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert.
Haftungsausschluss
Pine Bibliothek
Ganz im Sinne von TradingView hat dieser Autor seinen/ihren Pine Code als Open-Source-Bibliothek veröffentlicht. Auf diese Weise können nun auch andere Pine-Programmierer aus unserer Community den Code verwenden. Vielen Dank an den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Veröffentlichungen verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert.