LoneWolf_2106 Posted September 29, 2017 Share Posted September 29, 2017 Hi, i am trying to separate a date(day, month, year). I like _datetimesplit, but it requires also the time(which i don't have). Is there any similar function to split just the date? Link to comment Share on other sites More sharing options...
Developers Jos Posted September 29, 2017 Developers Share Posted September 29, 2017 Just a simple StringSplit() ? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LoneWolf_2106 Posted September 29, 2017 Author Share Posted September 29, 2017 alright! Thanks Jos Link to comment Share on other sites More sharing options...
Gianni Posted September 30, 2017 Share Posted September 30, 2017 In the _datetimesplit function, the time part is not mandatory if you pass a string with only the date part, the function will populate the $aMyDate array with the splitted parts of the date, while the $aMyTime array will be simply left as 4 empty elements. Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... 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