Hi,
I have a date that i need to format like yyyy/mm/dd but i can't find anything of that on the internet. currently the code below does what i need and takes today's date and adds 1 month to it. Problem is SQL does'nt like the format so i need to change the result from dd/mm/yyyy to yyyy/mm/dd
Any ideas on doing that? Thanks in advance.
I have a date that i need to format like yyyy/mm/dd but i can't find anything of that on the internet. currently the code below does what i need and takes today's date and adds 1 month to it. Problem is SQL does'nt like the format so i need to change the result from dd/mm/yyyy to yyyy/mm/dd
Any ideas on doing that? Thanks in advance.
Code:
dateplusmonth = DateAdd("m",1,date())