roy_van_der_pij
11 years agoNew Contributor
How to get French or Dutch date in English environment?
Hi,
I am running a test for a webapplication.
My environment is english (locale)
A date field must be pre-filled with a localized current date in the format
dd Month yyyy
so in English
04 march 2014
in french
04 mars 2014
in Dutch
04 maart 2014
So I like to do something like
- set language to dutch
- curdate = aqDateTime.Today()
- aqConvert.datetimetoformastr(curdate, "%A %#d %B")
The first step is still a mystery. How do I script my testset to be english, french or dutch.?
Regards
I am running a test for a webapplication.
My environment is english (locale)
A date field must be pre-filled with a localized current date in the format
dd Month yyyy
so in English
04 march 2014
in french
04 mars 2014
in Dutch
04 maart 2014
So I like to do something like
- set language to dutch
- curdate = aqDateTime.Today()
- aqConvert.datetimetoformastr(curdate, "%A %#d %B")
The first step is still a mystery. How do I script my testset to be english, french or dutch.?
Regards