Getting Year/Month/Day in a script independent of users region setting?

Started by ubacher, April 30, 2015, 07:47:24 AM

Previous topic - Next topic

ubacher

I need the year, month, day of a file in a script.
I can use {File.DateTime} to get the date but this is formatted according to the users
settings in Windows Region and Languages ->Format
Is there a way to get the individual parts independent of the region settings?
Or could I format it in a script? Like |format:YY-MM-DD hh.mm.ss

Mario

See Variables in the help for information about how to use custom date and time formats.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook