This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 How to insert current date?
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alex22

Ukraine
19 Posts

Posted - 09/10/2013 :  13:39:25  Show Profile
Help me with this script, please!

Rob

USA
2615 Posts

Posted - 09/10/2013 :  17:14:30  Show Profile  Visit Rob's Homepage
acSendKeys(os.date("%x"))

See here for more Lua date/time options like name of the day of week, time, etc.
Go to Top of Page

Alex22

Ukraine
19 Posts

Posted - 09/10/2013 :  18:50:46  Show Profile
Thanks!
Go to Top of Page

alexx431

2 Posts

Posted - 06/04/2018 :  16:37:07  Show Profile
thank you for this.

I am just wandering as i am in the uk and we write the date backwards so day before month. I have my computer set up to the uk locale. and when i use the microsoft word shortcut of alt + shift + d the date works fine so my locale is correct for uk.

but i am just wandering when i use strokes plus it still shows the date in the usa locale of month before day.

i am just wandering if there is any way of fixing this

thank you
Go to Top of Page

alexx431

2 Posts

Posted - 06/04/2018 :  16:44:53  Show Profile
hi i just figured it out

acSendKeys(os.date("%d/%m/%Y"))

thanks so much!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000