Daniel DRIJARD
2017-04-30 10:10:33 UTC
Hello,
The following shows a problem with ShortDate.
The code:
dim laDate as new date
print "Les dates: "
print " abbreviated: "+str(laDate.abbreviatedDate)
print " shortDate : "+str(laDate.shortDate)
print " longDate : "+str(laDate.longDate)
print " shortTime : "+str(laDate.shortTime)
print " longTime : "+str(laDate.longTime)
Le résultat:
Les dates:
abbreviated: 30 04 2017
shortDate : 30/04/2015
longDate : Sunday 30 April 2017
shortTime : 11:27
longTime : 11:27:00
The date was correctly 30/04/2017. The year given by ShortDate is WRONG.
I use the last version of XOJO, 2017 release 1.1, on an iMac with OS X 10.10.5.
Cordially,
Daniel
_______________________________________________
Xojo forum:
https
The following shows a problem with ShortDate.
The code:
dim laDate as new date
print "Les dates: "
print " abbreviated: "+str(laDate.abbreviatedDate)
print " shortDate : "+str(laDate.shortDate)
print " longDate : "+str(laDate.longDate)
print " shortTime : "+str(laDate.shortTime)
print " longTime : "+str(laDate.longTime)
Le résultat:
Les dates:
abbreviated: 30 04 2017
shortDate : 30/04/2015
longDate : Sunday 30 April 2017
shortTime : 11:27
longTime : 11:27:00
The date was correctly 30/04/2017. The year given by ShortDate is WRONG.
I use the last version of XOJO, 2017 release 1.1, on an iMac with OS X 10.10.5.
Cordially,
Daniel
_______________________________________________
Xojo forum:
https