| [Overview][Constants][Procedures and functions][Index] | 
Calculate number of seconds elapsed since the start of the month.
Source position: dateutil.inc line 194
| function SecondOfTheMonth( | 
| const AValue: TDateTime | 
| ):LongWord; | 
| AValue | 
 | Moment in the month. | 
Number of seconds elapsed since the start of the month.
SecondOfTheMonth returns the number of seconds that have passed since the start of the month (00:00:00) till the moment indicated by AValue. This is a zero-based number, i.e. 00:00:00.999 on the first day of the month will return 0.
For an example, see the WeekOfTheMonth function.
| 
 | Extract the week of the month (and optionally month and year) from a DateTime value | |
| 
 | Extract the day (of month) part of a DateTime value | |
| 
 | Calculate the number of hours passed since the start of the month. | |
| 
 | Calculate number of minutes elapsed since the start of the month. | |
| 
 | Calculate number of milliseconds elapsed since the start of the month. |