# 2.9.3 Date and Time Functions

| Function | Description                                                                 | Example of usage | Result       |
| -------: | --------------------------------------------------------------------------- | ---------------- | ------------ |
|  date( ) | <p>Returns the current date in string type</p><p>(YYYY-MM-DD format)</p>    | date( )          | "2019-04-17" |
|  time( ) | <p>Returns the current time in string type</p><p>(HH:MM:SS format)</p>      | time( )          | "08:48:14"   |
| timer( ) | Returns the time elapsed in seconds (sec) from when the power was turned on | timer( )         | 2796.37      |
