Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to change the date format yyyy/mm/dd to dd/mm/yyyy???
My system date format is yyyy/mm/dd. I tried to retrieve the values of day, month and year using the simple function like this:
dim d, m, y
d = day(Date)
m = month(Date)
y = year(Date)
but it returns an error when I run it.
is it because the Date format is not dd/mm/yyyy but yyyy/mm/dd?
if thats the case, are there any other ways for me to do that?