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

parsedate sous linux

To: "'REALbasic NUG French'" <realbasic-nug.fr@lists.realsoftware.com>
Subject: parsedate sous linux
From: "michel bulteau" <michel@coolpaie.com>
Date: Thu, 12 Jun 2008 14:37:45 +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: <000301c8c99a$2b4703c0$81d50b40$@com>
References: <818087A8-5C58-4B3C-AF0C-F3517F965B82@wanadoo.fr> <000301c8c99a$2b4703c0$81d50b40$@com>
Reply-to: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Sender: realbasic-nug.fr-bounces@lists.realsoftware.com
Thread-index: AcjHwj65VVcTEhT4QqiOU6nksO2G9QB1xx5gALvnB7A=
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




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