By scopas on
Hello,
I want to insert a lot of old posts from another system to my drupal blog database (node table). Each old post has its date on the format YYMMDD. How do I convert this into drupal's date format?
Regards,
Bure
Hello,
I want to insert a lot of old posts from another system to my drupal blog database (node table). Each old post has its date on the format YYMMDD. How do I convert this into drupal's date format?
Regards,
Bure
Comments
Unix timestamps
Drupal uses standard Unix timestamps. I'm sure you can find something on the web about those.
--
If you have a problem, please search before posting a question.
Not sure if any of these would be useful
Not sure if any of these would be useful in developing either a script or converting the dates but thought you might find them useful.
http://www.phpbuilder.com/columns/akent20000610.php3?page=4
http://dk.php.net/date
http://freshmeat.net/projects/portabase/
http://sourceforge.net/projects/jeweltools/