Seconds Since Midnight
PureSecondsSinceMidnightReturns the number of seconds elapsed since midnight of the given date.
Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| DateTime | FDateTime | — | DateTime parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Calculate time-based events in a day/night cycle.
Example 2
Seed random events based on time of day.