Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


On Thu, 13 Oct 2016 12:44:16 +0200
LC_Libre <lutch@free.fr> wrote:

Bonjour,

pour convertir des dates de type Unixstamp en date Calc, j'ai écrit
ceci
Function unixtimetodate(thedate) as Double
unixtimetodate(thedate)=thedate/86400+25569

End Function
Elle s'utilise ainsi

=UNIXTIMETODATE(A1)
Le format de nombre est au choix.

Je l'ai enregistrée dans un module functions de mes macros Standard, 
pour toujours l'avoir à disposition.
Par contre, elle n'apparait pas dans l'assistant de fonctions, je ne 
sais pas comment faire.

C_Lucien
-- 
Système technique : Mac OS 10.10.5, RAM 8 Gio, LibreOffice 4.4.7.2 &
5.1.5.2

-- 
Envoyez un mail à users+unsubscribe@fr.libreoffice.org pour savoir
comment vous désinscrire Les archives de la liste sont disponibles à
http://listarchives.libreoffice.org/fr/users/ Tous les messages
envoyés sur cette liste seront archivés publiquement et ne pourront
pas être supprimés

bonjour,

    pourquoi ne pas s'être basé sur la date (cf man date) :

        http://pwet.fr/man/linux/commandes/date
A+
-- 
bernard schoenacker <bernard.schoenacker@free.fr>

-- 
Envoyez un mail à users+unsubscribe@fr.libreoffice.org pour savoir comment vous désinscrire
Les archives de la liste sont disponibles à http://listarchives.libreoffice.org/fr/users/
Tous les messages envoyés sur cette liste seront archivés publiquement et ne pourront pas être 
supprimés

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.