Make parameter of Hour(), Second() etc. optional
Posted: Wed Sep 28, 2011 9:44 am
This is a really small request, similar as making the start position parameter at FindString() optional...
I'd like the parameters of Second(), Minute(), Hour(), Day() etc. to be optional. By default the functions would simply return the current date. Example:
I'd like the parameters of Second(), Minute(), Hour(), Day() etc. to be optional. By default the functions would simply return the current date. Example:
Code: Select all
Debug Year(Date()) ; Returns 2011
Debug Year() ; Would also return 2011 and is a little easier to read