dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] Week Year To Timestamp

  1. #1
    Join Date
    Oct 2009
    Posts
    658

    resolved [RESOLVED] Week Year To Timestamp

    Hi guys, I have a week number and year, and wondering a quick way to convert it back to timestamp or datetime.

    Thanks

  2. #2
    Join Date
    Oct 2009
    Posts
    658
    Got The Solution
    DATE_ADD(MAKEDATE(LogYear,LogWeek*7), INTERVAL(1-DAYOFWEEK(MAKEDATE(LogYear,LogWeek*7))) DAY) as LogDate

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