Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 6th, 2007, 07:49 AM
Authorized User
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Asp datetime problem with non-Unicode languages

hi everybody,

i have datetime problem with my access database

im not able to update the datetime field in the msaccess table using

objcon.execute "update users set us_userlastlogin='" & now() & "' where us_userid= '" & us_userid & "'"


i have non-Unicode language as Arabic in Regional and Language Option in the control panel. When i change this to US english erything works fine.

But if it is arabic, the query is works as

update users set us_userlastlogin='03/03/2007 05:44:21 ã' where us_userid= 'anas'

instead of

update users set us_userlastlogin='03/03/2007 05:44:21 PM' where us_userid= 'anas'

ie the datetime field doesnt accept ã character

is there any convert or alternative methods for this?

thank you
neon








Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp datetime problem with non-Unicode languages neon20 Classic ASP Professional 4 March 8th, 2007 04:03 AM
Asp datetime problem with non-Unicode languages neon20 ASP.NET 1.0 and 1.1 Professional 0 March 5th, 2007 11:50 AM
problem in unicode chandanbhakuni Classic ASP Databases 1 September 22nd, 2006 10:22 AM
How to implement unicode in asp web-pages? Swetz Classic ASP Databases 0 May 23rd, 2006 12:17 AM
Unicode ASP FIle Problem tks_muthu Classic ASP Databases 2 February 25th, 2005 06:45 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.