jkkenzie Posted June 15, 2008 Share Posted June 15, 2008 I would like to get the server date, then echo to textbox in the fomart DD/MM/YYYY e.g 27/12/2008 Thanks Joe Quote Link to comment https://forums.phpfreaks.com/topic/110287-get-date/ Share on other sites More sharing options...
adv Posted June 15, 2008 Share Posted June 15, 2008 <?php $date1=date('d/m/Y'); ?> <input type=text name=text value="<?php echo $date1;?>"> Quote Link to comment https://forums.phpfreaks.com/topic/110287-get-date/#findComment-565886 Share on other sites More sharing options...
OriginalBoy Posted June 15, 2008 Share Posted June 15, 2008 echo $date1; Quote Link to comment https://forums.phpfreaks.com/topic/110287-get-date/#findComment-566005 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.