Functions
dayofmonth()
Calculates the day number of the month, in a specified time zone, from a UNIX timestamp.
Syntax
dayofmonth(series int time, series string timezone) → series int
Arguments
time required series int timezone required series string Return Type
series int Example
indicator("Day of Month Example", overlay=true)
// Get current bar day of month
currentDay = dayofmonth(time)
// Plot day in Data Window
plot(currentDay, title="Current Day")