Title

Message

Confirm

Want to earn a free ClipboardFusion Pro license? We're looking for ClipboardFusion translators!
<< DiscussionsReply

DateTime language

Avatar from Gravatar.com
Leon André Bergman
54 discussion posts
Hi.
I'm using a macro to output a date and the current time +1 second, but the place that I send it to needs the format to be in english, and not Norwegian.

I'm using the following code:

Code



When I paste it it outputs Desember, instead of December.
I just noticed the issue as I started using this in November, which is spelled the same way in both languages.
Is there a way I can make it use english form of the word?

My googling found some info about CultureInfo but it didn't accept it.
Dec 2, 2019  • #1
PabloMartinez's profile on WallpaperFusion.com
First of all, you need to add System.Globalization namespace to define CultureInfo. Then into the formatted string you specify CultureInfo.InvariantCulture

Code

Dec 3, 2019  • #2
Was this helpful?  Login to Vote(1)  Login to Vote
<< DiscussionsReply