Get support from Xavier Media
It is currently Sun Dec 08, 2013 12:25 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Date stamping
PostPosted: Fri Feb 01, 2008 1:11 pm 

Points:
Hi,

I'm trying to add an automatic date when inputing data to a table.

I've found timestamp and used it as a table type but i only would like the date and not the time.

Would you suggest using this method or inputing the date through the input form?

thanks in advance


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Sun Feb 03, 2008 4:08 pm 

Points:
I would use it in the script and not via the input form. Try something like this:
PHP Code:
date('Y m d');

This code will only use the date and not the exact time like time() do.

/Andreas


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Registered users: No registered users


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]