Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jul 2004
    Location
    Ottawa, Canada
    Posts
    1,363
    Tokens
    106
    Habbo
    Yonder

    Latest Awards:

    Default

    Just use a plain text field in sql rather than a date one?

  2. #12
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    Quote Originally Posted by 00chips View Post
    I don't think there's a way to change how it's stored, you can change the order that it is outputted though, there are some dedicated PHP codes for that me thinks.
    That would be fantastic, I'll have to research that, if anyone finds a way to output it to DD-MM-YYYY can you tell me please? Thanks!

    Quote Originally Posted by Tomm View Post
    You can't change how MySQL internally stores the data but it is not limited to accepting values in that format.

    See here: http://dev.mysql.com/doc/refman/5.1/en/datetime.html for acceptable formats for DATE columns.
    Thank you very much.

    Quote Originally Posted by Yonder View Post
    Just use a plain text field in sql rather than a date one?
    I want to make sure it's a date field because I'm going to do ages checks etc. later on.
    Free Online Games And Videos:
    http://www.vincesgames.com



Page 2 of 2 FirstFirst 12

Posting Permissions

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