Results 1 to 8 of 8

Thread: DateTime - insert manual date

  1. #1
    Join Date
    Jul 2007
    Location
    Azerbaijan, Baku
    Posts
    144
    Thanks
    11
    Thanked 27 Times in 25 Posts

    Default DateTime - insert manual date

    Today this mysql makes me crazy . . .

    I have a question. How to insert my own date (not current date) to datetime colomn?

  2. #2
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    What is your string?

  3. #3
    Join Date
    Jul 2007
    Location
    Azerbaijan, Baku
    Posts
    144
    Thanks
    11
    Thanked 27 Times in 25 Posts

    Default

    "2008-01-01"

  4. #4
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    if you read the manual correctly it should be 20080101 "YYYYMMDD"

  5. The Following User Says Thank You to tfit For This Useful Post:

    allahverdi (09-03-2008)

  6. #5
    Join Date
    Jul 2007
    Location
    Azerbaijan, Baku
    Posts
    144
    Thanks
    11
    Thanked 27 Times in 25 Posts

    Default

    Oh thanks a lot, really thanks.

  7. #6
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    Mr. Timesaver how come you got 22 thanks I only 13? . How much is a bribe?

  8. #7
    Join Date
    Jul 2007
    Location
    Azerbaijan, Baku
    Posts
    144
    Thanks
    11
    Thanked 27 Times in 25 Posts

    Default

    Mr.Timeserver N2, i can sell all thanks $5 per thanks

  9. #8
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    Quote Originally Posted by allahverdi View Post
    Mr.Timeserver N2, i can sell all thanks $5 per thanks
    I wish i could afford.

Bookmarks

Posting Permissions

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