hello,
can someone please help?
I am writing this:
<?php
$value = empty($value) ? "" : date('m/d/Y g:i a', strtotime($value));
?>
<input name="date_time" type="text" class="form_date_time" id="form1_date_time" value="<?php echo $value ; ?>" />
[CODE]
the $value keeps getting set as Nov 30 0001 -
does someone notice anything that I am doing wrong here?
thank you!