I'm using VBscript within HTML and having issues with a date format. In my sql database the date format is yyyy-dd-mm 00:00:00.
When I use a select statement and pull all the records and transfer them into variables, the date becomes mm/dd/yyyy.
So now when I try and search another table for a date like my variable, it brings back nothing of course because nothing looks anything like it. I don't know exactly what I'm supposed to do, maybe convert my variable somehow but I'm stuck. I've researched for the last few hours and tried different things but nothing works. Can someone point me in the right direction?
When I use a select statement and pull all the records and transfer them into variables, the date becomes mm/dd/yyyy.
So now when I try and search another table for a date like my variable, it brings back nothing of course because nothing looks anything like it. I don't know exactly what I'm supposed to do, maybe convert my variable somehow but I'm stuck. I've researched for the last few hours and tried different things but nothing works. Can someone point me in the right direction?