realbasic-nug.fr
[Top] [All Lists]

Re: parsedate sous linux

To: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Subject: Re: parsedate sous linux
From: Antoine Crêtaux <antoine@cretaux.fr>
Date: Thu, 12 Jun 2008 16:00:19 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.fr-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.fr-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <001101c8cc89$1d6e1a80$584a4f80$@com>
References: <818087A8-5C58-4B3C-AF0C-F3517F965B82@wanadoo.fr> <000301c8c99a$2b4703c0$81d50b40$@com> <001101c8cc89$1d6e1a80$584a4f80$@com>
Reply-to: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Sender: realbasic-nug.fr-bounces@lists.realsoftware.com
Je ne sais pas si cela concerne ton cas mais je sais qu'il y a des conflits entre parsedate et le format de date systeme. Il faut peut etre regardé de ce coté....

Le 12 juin 08 à 14:37, michel bulteau a écrit :

Salut à tous j'ai souci sous linux avec la fonction ParseDate:

Code
Dim d As  Date
 Dim boolResult As Boolean
 dim Date as string
 Date="12/06/2008"
 boolResult = ParseDate(Date, d )
 msgbox d.ShortDate


me renvoi 06.12.2008 alors que

Code
Dim d as new date
msgbox d.ShortDate


me renvoi la date du jour au format 12.06.2008

Bizarre non ?

Savez vous s'il y a moyen de faire en sorte que :

1 - parsedate me renvoi 12.06.2008
et
2 - que shortdate me renvoi, comme sur windows et sur mac (après modif du
format dans International) 12/06/2008 ce qui m'arrangerait bien !!!
smile.gif

Michel



Cordialement
Antoine Crêtaux
antoine@cretaux.fr







<Prev in Thread] Current Thread [Next in Thread>