Replies: 0
Hello
I have got two date type fields in my database and when I get them thru a request like this :
$record = Participants_Db::get_participant_list( $config );
These two date fields contain a date with 1 day less that what as been inserted when creating the record.
I need to add the following code to get the right display :
$realdate = date ( ‘d/m/Y’, $record[$idadherent]->certificatmedical + ( 24 * 60 * 60 ) );
I can’t access to my WP database to see what’s really stored in the database, so I don’t understand why these dates are uncorrect when coming out of the get_participant_list query.