Added: 2 years ago
From: MonsterProjectsMedia
Views: 2,126
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (10)

Sign In or Sign Up now to post a comment!
  • the file has been deleted please fix it

  • @dust103194 Sorry about that. It shouldn't have been deleted but i have now included a new link in the video description for you. 

  • How do you go about taking a date from a MySQL database in the format 2010-06-01 and turn it into 01-06-2010

  • @dashbyictfd Thats quite easy:

    $Date = date("d - m - Y", strtotime($row["date"]));

    Hope this is what you wanted.

  • @MonsterProjectsMedia Thanks again

  • @dashbyictfd No problem.

  • Good tutorial but I am also looking at the best way to display the time in various timezones, maybe you could do a tutorial on that as my server is in the USA but I am in the UK.

  • @dashbyictfd Hello, sorry about the late reply. This should work for you:

    date_default_timezone_set('Eur­ope/London');

  • @MonsterProjectsMedia OK thanks

  • @MonsterProjectsMedia Thanks for your response

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more