Library "ISODateTime" getDateParts(dateStr) Get year, month, day from date string. Parameters: dateStr : : ISO 8601 format, i.e. "2022-05-04T14:00:00.001000-04:00" or "2022-05-04T14:00:00Z" Returns: array of int getTimeParts(dateStr) Get hour, minute, seconds from date string. Parameters: dateStr : : ISO 8601 format, i.e....
█ OVERVIEW Library "DateNow" TODO: Provide today's date based on UNIX time █ INSPIRATIONS Use pinescript v4 functions such as year(), month() and dayofmonth(). Use pinescript v5 function such as switch. Export as string variables. Not using any match function such as math.floor. █ CREDITS RicardoSantos █ KNOWN ISSUES Date for Day display...
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: unixtime : int unix timestamp. Returns: string date_(unixtime) a stringified date stamp at specified unix time. Parameters: unixtime : int unix timestamp....