Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 November 2nd, 2005, 06:40 PM
Authorized User
 
Join Date: Mar 2004
Location: , , .
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Default TimeZone Issue

hi all,
I have a login date and time of a user stored in UTC Date format in database table. Next time when user logs in, i want to convert the last logged in UTC date and time into their system(computer)'s time and date format. Is there any help would be appreciated. chunk of code would be more helpful
 
Old November 3rd, 2005, 01:54 AM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

response.write <date var>.ToLocalTime()





Similar Threads
Thread Thread Starter Forum Replies Last Post
function adjust-dateTime-to-timezone Tomi XSLT 3 July 26th, 2006 11:51 AM
how to find the local timezone Tomi XSLT 0 July 26th, 2006 06:14 AM
timezone conversion swati_joshi ASP.NET 1.0 and 1.1 Professional 0 June 2nd, 2006 05:21 AM
Problem using TimeZone LocalTimeStamp vinod_pawar1 Oracle ASP 0 December 22nd, 2005 12:35 PM
India TimeZone not listed deepak.vasudevan Forum and Wrox.com Feedback 0 September 2nd, 2005 02:34 AM





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