Skip to main content

dayname - script and chart function

This function returns a value showing the date with an underlying numeric value corresponding to a timestamp of the first millisecond of the day containing time.


DayName(time[, period_no [, day_start]])

Return data type: dual


Argument Description
time The timestamp to evaluate.
period_no period_no is an integer, or expression that resolves to an integer, where the value 0 indicates the day that contains time. Negative values in period_no indicate preceding days and positive values indicate succeeding days.
day_start To specify days not starting at midnight, indicate an offset as a fraction of a day in day_start. For example, 0.125 to denote 3 AM.