Jump to content

Recommended Posts

look into the function

string to date

http://www.google.com/search?hl=en&q=php+string+to+date+function&btnG=Google+Search

it is amazing what you can find with google isn't it ?

http://jp.php.net/manual/en/function.mktime.php

will help you maybe

http://jp.php.net/manual/en/function.strtotime.php

is what you are really looking for

so you search should have been string to time

 

or you could write a script that checks the characters on positions in your string

2/5/07

check if second character is a number or / and if it is a / you should put a 0 in front of the first character

and check again for the other possible positions of slashes in your string.

 

anatak

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.