kenan77 / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

date offset by 1 day (date décalé d'un jour) #132

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
for those who have the problem of date,  offset by 1 (eg 18/10/2011 10/19/2011 
affcihe), so I think I found the solution:
go to file: read.php:

 $utcValue = round(($utcDays+1) * SPREADSHEET_EXCEL_READER_MSINADAY);
change it on:
 $utcValue = round(($utcDays) * SPREADSHEET_EXCEL_READER_MSINADAY);

//**********************************french*************************************
pour ceux qui ont le problème de date qui est décalé de 1 (exemple: 
18/10/2011 affcihe 19/10/2011) , alors je crois que j'ai trouvé la solution:
aller dans le fichier: read.php :

$utcValue = round(($utcDays+1) * SPREADSHEET_EXCEL_READER_MSINADAY);
change le au:
 $utcValue = round(($utcDays) * SPREADSHEET_EXCEL_READER_MSINADAY);

sinon vous trouvrez le fichier join .rar ci-dessous:

Original issue reported on code.google.com by herrim...@gmail.com on 18 Nov 2011 at 12:19

Attachments:

GoogleCodeExporter commented 8 years ago
merci pour l aide :)

Original comment by samakeal...@gmail.com on 31 May 2012 at 7:07