# 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

Examples and results:

Examples and results

| Example | Result |
| --- | --- |
| `day(<br>'1971-10-12' )` | returns 12 |
| `day(<br>'35648' )` | returns 6, because 35648 = 1997-08-06 |