Chapter 8. Date functions

Table of Contents

doomday ()
is_leap_year ()
day_of_year ()
day_of_week ()

doomday ()

int doomday ($year);
      

This function returns the number of the week's day of the first day of $year. The returned values range from 0 (Monday) to 6 (Sunday).