Hi,
I would like to display date in a textfield in the format 'yyyymmdd'.
If I use:
strGetDate=CStr(Year(InvoiceDate) & Month(InvoiceDate) & Day(InvoiceDate))
It gives me yyyymd. Tried use formatDate but it says type mismatch.
Any ideas how to do it??
Thanks in advance
I would like to display date in a textfield in the format 'yyyymmdd'.
If I use:
strGetDate=CStr(Year(InvoiceDate) & Month(InvoiceDate) & Day(InvoiceDate))
It gives me yyyymd. Tried use formatDate but it says type mismatch.
Any ideas how to do it??
Thanks in advance