grimbert Posted September 6, 2007 Share Posted September 6, 2007 I am converting a script from TypeItin to AutoIt and now i stumble upon the problem where i need to use a 2 digit year ( like: 07) i can't find anything in the help file on how to get it, only 4 digit. Is it possible to get a 2 digit year? Link to comment Share on other sites More sharing options...
Gif Posted September 6, 2007 Share Posted September 6, 2007 MsgBox(0, '', StringRight(@YEAR, 2)) Link to comment Share on other sites More sharing options...
grimbert Posted September 6, 2007 Author Share Posted September 6, 2007 MsgBox(0, '', StringRight(@YEAR, 2))Thanks , works like a charm Link to comment Share on other sites More sharing options...
sshrum Posted September 6, 2007 Share Posted September 6, 2007 At least until the year 3000 Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
Toady Posted September 6, 2007 Share Posted September 6, 2007 (edited) At least until the year 3000 Or the year 2100....so its all good for the next 93 years lol. Edited September 6, 2007 by Toady www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now