Jump to content

PHP echo time in time textfield


yandoo

Recommended Posts

Hi  all,

I was wondering for a bit of help?

I need to echo the time into a time textfield on a form as apart of the forms details. This will save the user having to input the time manually into the time textfield.

I need the time in the following format: 15:30:00

is this possible?? Please help

Kind Regards

Tom
Link to comment
https://forums.phpfreaks.com/topic/33472-php-echo-time-in-time-textfield/
Share on other sites

Tom,

Does the user need to know the time?  I'm assuming you're inserting this into a database of some type, in which case just use a timestamp field in the database for when the row is inserted and then when you display the record format it accordingly.

Regards
Huggie

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.