<!DOCTYPE html>
<html>

<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>DAY Function</title>
</head>

<body>

<h1><code>DAY</code> Function</h1>
<p>Returns the day-of-month part of a date/time string. </p>
<h2>Syntax</h2>
<blockquote>
    <code>DAY(<i>date</i>)</code>
</blockquote>
<h2>Arguments</h2>
<ul class="args">
    <li><b>date</b> (date/time expression)<br>A text value that can be parsed into a date/time. </li>
</ul>
<h2>Return Value</h2>
<blockquote>
    An integer representing the specified day of the month.
</blockquote>
<h2>Examples</h2>
<ul class="examples">
    <li><code>PRINT DAY('2016-03-07');</code><br>Prints 7. </li>
    <li><code>PRINT DAY('2016-07-23 22:06:53.742 -04:00');</code><br>Prints 23. </li>
</ul>
<br>

</body>

</html>
