hours()
This function returns the hour of date a.
Parameters
Parameter |
Description |
a |
Date. |
Examples
Parameter a |
Result |
2005-01-05 08:20:00 |
8 |
2005-01-05 |
0 |