Sid3335
04-21-2006, 11:54 AM
i have a database that logs visitors to my companies websites.
problem is I need to input the date into the database in a particular format:
yyyy-mm-dd which i believe is the mysql default.
how can i convert the date to this in asp:
the date is retrieved by the date() function but how can i format it from there.
btw, the date() function returns dd/mm/yyyy (uk format) and i can't change it using session.lcid because the code is plugged into many websites.
thank guys
problem is I need to input the date into the database in a particular format:
yyyy-mm-dd which i believe is the mysql default.
how can i convert the date to this in asp:
the date is retrieved by the date() function but how can i format it from there.
btw, the date() function returns dd/mm/yyyy (uk format) and i can't change it using session.lcid because the code is plugged into many websites.
thank guys