This is hopefully a final version of this dialog.
I have allowed for different box style and not return a formated date.
The getdate.btm batch can be used directly or
used as a subroutine look at useGetDate.btm for examples.
Andre
using
setdos /s:10
setdos /s:0
seem to work for both TCC and Take
thanks for the suggestion it looks a lot better
another problem solved is the foreground was modified by getdate
Using screen 0 0 removes this problem
The attach batch is a date picker could be easily integrated
Tested in tcc only
This purely experimental I merge my keyboard code with my calendar code and made this up in a couple of hours.
I could be pretty up but the basic idea is there. Modification should be added for country that start...
This is probably safer then mine I wish that it could be done like the day of the weeks which is
The parm being 0 is Saturday and 1 is Sunday which is nice.
function getLongDay=`%@dowf[%@eval[%1+4]]`
function getShortDay=`%@dow[%@eval[%1+4]]`
If we had something like dow and dowf for month...
Getting the name for a month should be a simple function like @months @monthl for the short name and the long name.
But it is not available this sub willl do it for you
:getMonthName
set saveDate=%_date
date /f1 %@makedate[%@date[%monthRequired/1/09,1]]
set longMonth=%_imonthf
set...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.