• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Week: 3 At a Glance > Date and Time Functions

Date and Time Functions

Many applications sort or store information based on a day or time. These MySQL functions provide an easy means of working with dates without having to learn calendar mathematics.

DAYOFWEEK(date)— Returns the weekday index for date (1 = Sunday, 2 = Monday, … 7 = Saturday).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint