|
A
|
ann 8/11/2010 |
|
Hi, $value = date("h:i:s F Y",$value);
|
|
|
|
swant author 8/11/2010 |
|
So ive tried this, with the code snip as suggested, witht the php settings that i would like $value = date("H:i:s F Y",$value); 0. include/phpfunctions.php:552 date 1. H:i:s F d Y;
$value = date("h:i:s F Y",$value);
|
|
|
|
swant author 8/11/2010 |
|
also on a side note if i delete all the data in the table and start new it works to see that there is nothing there, however when i add things the time date shows up like i want it but as soon as i go back to themain table i get those same error messages again. So ive tried this, with the code snip as suggested, witht the php settings that i would like $value = date("H:i:s F Y",$value); here's what the message is in the main database have I inputted the value wrong or put it in the incorrect place, im going to editor > then clicking on my field > go to custom and putting $value = date("H:i:s F d Y",$value); > check syntax checks ok 8 Error description A non well formed numeric value encountered URL info/DeliveryRR/Delivery_Room_Registry_list.php? Error file /srv/www/htdocs/DeliveryRR/include/phpfunctions.php Error line 552 SQL query SELECT DeliveryReg, Month/Year, `Delivery#, Patient_Last_Name, First_Name,Room_#, Admit_Date_Time,MedRec#, GEST_Period,G/P, Presentation, Membranes_Ruptured, Operative_Intervention, Deilvery_Date_Time,Episiotomy_&_Repair, Placenta,BabyTag#, Sex,APGAR's,WT., Length, Rh_Factor,Newborn_Med_Rec#, Oxytocic_Drugs, Complications, Anethesia_Type, Anesthesiologist, Nurse_1, Nurse_2, OB_MD_1,Ped's_FP,Ped's_MD_2_BC/CC/RS`, Last_Person_to_Modify, Induction, Augmentation FROM Delivery_Room_Registry ORDER BY 1 ASCmore info 0. include/phpfunctions.php:552 date 1. H:i:s F d Y;
|
|
|
A
|
ann 8/12/2010 |
|
Hi, $value = date("h:i:s F Y",strtotime($value));
|
|
|
|
swant author 8/12/2010 |
|
Yes that did it thank you <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=51831&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' /> Hi, try the following code: $value = date("h:i:s F Y",strtotime($value));
|
|