regional-settings Questions
3
Solved
Depending on the regional settings, the CSV separator (or the list separator) might be ; instead of ,, which, at least on Windows depends on the Regional Settings.
Is there a cross-platform way to...
Diffusive asked 23/5, 2013 at 15:22
7
The problem:
Let's assume you are using a dot "." as a decimal separator in your regional setting and have coded a string with a comma.
string str = "2,5";
What happens when you decimal.TryParse(...
Recaption asked 4/4, 2015 at 22:51
10
Solved
Is there a way to split the %date% in a batch file (say, in 3 environment variables), but regardless of Regional Settings? Today's date would be 3/13/2013 for US, but with my Regional Settings it i...
Telemann asked 13/3, 2013 at 6:48
2
Solved
I would like to output a DateTime as a string in the format specified in the operating system preferences. I don't want to provide an explicit format pattern, but instead want to use whatever the u...
Strom asked 27/7, 2020 at 23:55
1
Solved
When I use the InvariantCulture to parse a string, with both:
var christ1 = DateTime.Parse("12/25/35", CultureInfo.InvariantCulture);
and:
var christ2 = DateTime.ParseExact("12/25/35", "MM/dd/y...
Fiddlewood asked 22/10, 2019 at 16:34
1
Solved
If your iOS device is set to use a region that defaults to 12 hour time (e.g. United States) and you have a DateFormatter set up like this:
var dateFormatter: DateFormatter = {
let formatter = Dat...
Blynn asked 19/4, 2018 at 18:53
1
Solved
I have tried to google this out but with no success.
Is it possible to change the Decimal Separator to "." and Thousands Separator to "," in Powershell?
EDIT: To be more precise, is it possible to...
Conde asked 19/12, 2017 at 7:26
1
Solved
I'm running a piece of code that returns nil when running on an iPhone with a different language setting. An example in code looks like this:
let dateFormatter = DateFormatter()
dateFormatte...
Superorder asked 22/10, 2017 at 18:14
1
Solved
do I understand correctly, that if I use a command like
Set myRange.formula = “=ROW(mySheet!R12)”
my macro will cause #NAME? error appear in cells if it is run on, say, Russian Excel.
I mean th...
Pin asked 1/3, 2016 at 13:24
2
I’m trying to format some numbers with jQuery. I would like to get the user’s regional settings for currency and number, in order to implement the correct format (obtain the decimal separator).
Is...
Copy asked 6/11, 2015 at 7:16
1
With batch variable/parameter expansion like %~t1 one can get a timestamp of a file.
I would like to set the year of the file to another variable would like to support multiple locales.
How can y...
Brandeebranden asked 2/9, 2014 at 20:23
3
Solved
This question is the LOTUSCRIPT version of
datetime.tostring month and day language
Need description:
I need a string date in the dd/mmm/yyyy format (ex: "28 feb 2014"). I don't want english (int...
Marola asked 12/6, 2014 at 6:56
2
To detect a visitor country I see this below code suggested in many forums, but I cant get it working.
modGlobal.ResolveCountry.ThreeLetterISORegionName
On my local machine it correctly retur...
Rockribbed asked 11/7, 2013 at 8:10
3
Solved
Is it possible to determine regional settings of the client's machine, using pure javascript?
I need to get first day of the week. Is it Sunday or Monday.
Vu asked 19/9, 2011 at 16:17
1
Solved
I've set, in my regional settings (for Czech, culture cs-CZ), the short time / long time pattern to following:
Short time: H.mm
Long time: H.mm.ss
I'm trying to use those settings in C# appl...
Castile asked 30/11, 2012 at 12:37
1
Solved
I'm building a report using Report Builder 3.0.
The source system I'm working with has strings representing dates in the format of mm/dd/yy, but I want to show this to the end users as dd-MMM-yy i...
Eliseoelish asked 15/3, 2012 at 15:6
1
© 2022 - 2024 — McMap. All rights reserved.