> What kind of information are you looking for exactly? I'm not sure if > this is available in every paltform (it's standarized only by the > "Single UNIX Specification" acording to my man page), but depending on > this issue, everything you're looking for is there: > > >>> locale.nl_langinfo(locale.D_FMT) > '%m/%d/%y' > > You could also try loading a translation catalog in the target system, > but that could be unportable as well. That is the type of info I am looking for, but it is not portable. Windows does not have this functionality to my knowledge. If it did it is stupid that it does not have strptime built-in. ANSI C, unfortunately, does not provide a way to get this info directly. This is why I have to get it from strftime. -Brett C. > > -- > Gustavo Niemeyer
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4