LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

name of month (day) in different language.

Hi,

 

I want to make a code depending on the name of month/day (Aug.. Sep/Wed..Sat in English).

To my knowledge, the name comes from the internal system of user's Windows so seems to be very differetnt to the language of Windows.

I am considering some universal codes for the different language.

Can you tell me how to make the universal code to get and identify as English name all the time?

Is there some way to get the name as an integer or English name itself if possible?

 

labmaster.

 

0 Kudos
Message 1 of 3
(3,426 Views)

"Seconds to Date/Time" will return a cluster containing the month number.

 

Is that waht you want?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(3,409 Views)

Building on what Ben said, use "month" and "day of week" outputs from Seconds To Date/Time as these numerics will be the same regardless of the language Windows is set to use.

 

StDT.png

========================
=== Engineer Ambiguously ===
========================
Message 3 of 3
(3,401 Views)