Bonjour,
Il faut faire attention que la fonction DATESTR n'a pas la même référence de temps que ta fonction fromtimestamp:
Envoyé par
doc datestr
A serial date number represents the whole and fractional number of days from 1-Jan-0000 to a specific date. The year 0000 is merely a reference point and is not intended to be interpreted as a real year in time.
Il te faut donc dans un premier temps convertir 1315812396 en jour et y ajouter la date de l'epoch:
datestr(1315812396/86400+datenum('01.01.1970', 'dd.mm.yyyy'))
Partager