CurrentDate()

BlitzMax Forums/BlitzMax Programming/CurrentDate()

GfK(Posted 2011) [#1]
I get "09 Jun 2011" but is it locale-specific?

What does this return on a non-English OS? I.e. on a French OS I'd expect "09 Jui 2011".

[edit] Done a forum search but no conclusive answer to this specific question, just lists of month names in various languages, which isn't what I want.

Last edited 2011


Zeke(Posted 2011) [#2]
i have Finnish OS and i got "09 Jun 2011"

Extern
	Function setlocale:Byte Ptr(cat:Int , locale$z)
End Extern

'Print String.FromCString(setlocale(0 , ""))
SetLocale(0 , "")

Print CurrentDate()

and output is:
09 kesä 2011