ParseDate() - More mask tokens

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

ParseDate() - More mask tokens

Post by RSBasic »

Code: Select all

ParseDate("...", "Tue Apr 16, 2019 2:03 pm")
My wishes:
-a token for day of the week (e.g. Tue and Tuesday)
-a token for month name (e.g. Apr and April)
-a token for am or pm

Thank you
Image
Image
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: ParseDate() - More mask tokens

Post by davido »

+1
DE AA EB
User avatar
NicTheQuick
Addict
Addict
Posts: 1226
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: ParseDate() - More mask tokens

Post by NicTheQuick »

But please add localization, so also day and month names in other languages work too.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Post Reply