Hi,
Need some help as i'm stuck with this niggling prob...
I wish to assign the the current day, month and year to 3 seperate variables using:
CurrDay = Day(Date)
CurrMth = Month(Date)
CurrYear = Year(Date)
Looks simple n straightfoward but it returns garbage, after a few inspections, i realised that the 'Date' function returns todays date as 110603(DDMMYY format) and hence it can't recongnise the day, mth or year correctly.
I believe that this should work fine as long as the 'Date' function returns in the DD/MM/YY format. Can anyone advice how to format the date accordingly??
Thanks alot in advance.
Need some help as i'm stuck with this niggling prob...
I wish to assign the the current day, month and year to 3 seperate variables using:
CurrDay = Day(Date)
CurrMth = Month(Date)
CurrYear = Year(Date)
Looks simple n straightfoward but it returns garbage, after a few inspections, i realised that the 'Date' function returns todays date as 110603(DDMMYY format) and hence it can't recongnise the day, mth or year correctly.
I believe that this should work fine as long as the 'Date' function returns in the DD/MM/YY format. Can anyone advice how to format the date accordingly??
Thanks alot in advance.