I am getting a bit worked up here. I am working on new site in Classic Asp.
Built everything and all is working fine and now comes the time to test with some data. The moment we come to date related data everything goes crazy.
i run a query on my SQL CE that comes with WebMatrix 2, and inserted the date into the field using Getdate(), and checked it out, the format is mm/dd/yyyy.
now on the webpage if i do a response.write Date(), its in dd/mm/yyyy format.
FormatDateTime(nDate,vbshortdate) returns the date in yyyy/mm/dd format.
Ok that was all about the background and facts.
So now i have the date in the field called newDate. i populate it to my text box using a variable. Now if i try to update the db its an error. I response.write the sql query, and the date is now string in the right to left(arabic) style.
I do believe this may be a localization issue, if someone can help me out of this predicament.
I must also add, that in my webpages i have been using charset=utf-8.
many thanks