day - script and chart function
This function returns an integer representing the day when the fraction of the expression is interpreted as a date according to the standard number interpretation.
Syntax:
day(expression)
Return data type: integer