www.webdeveloper.com
Results 1 to 2 of 2

Thread: MySql create calendar table

  1. #1
    Join Date
    Jan 2009
    Posts
    87

    MySql create calendar table

    Hi,

    You would have thought there would have been many scripts out there that create calendar tables but i cant seem to find a simple one that does what i want...
    Basically all i want is to create a table in mysql with a date field and a working day field. so like:

    Date WorkingDay
    01-01-2009 yes
    02-01-2009 yes
    03-01-2009 no

    can someone point me in the right direction for creating this table please??

    Thanks a lot

    P

  2. #2
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    You really just need a timestamp or date field and to make use of the date/time functions.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles