DayOfWeek

Table of contents

  1. get @dayofweek

get @dayofweek

Retrieves the current day of week number (0-6).

  • 0 for Sunday
  • 1 for Monday
  • 6 for Saturday
echo !@dayofweek!
2