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
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
Link to comment
Share on other sites

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.