# P_timetodayofweek
## Syntax:
@timetodayofweek**({epoch})**
## Use Case:
Extracts the day of the week (0-6) from a Unix epoch timestamp, where 0 is Sunday.
## Arguments:
- **{epoch}**: The Unix timestamp.
## Examples:
1. **/echo DayOfWeek: @timetodayofweek(@time())**
## See Also:
@timetoday