473,396 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

The times should display in logged-in user desktop time zone

Vaj
hi,
i would be very thankful if u can help me in solving this problem.

my problem is i 've a page in that i'm displaying the creation dates of all
files. these dates are like server dates . now i've to display these
creationdates in the current logged in user desktop timezone.
thanks
Nov 16 '05 #1
2 2075
hi,

I suppose you are about to localize your app based on the current culture
and settings. Have a look at these namespaces.

System.Globalization
System.Resources
System.Threading

you can get / set the CurrentUiCulture from the running thread to display
according to the local settings.

rgds
Joyjit
"Vaj" <vi*******@hotmail.com> wrote in message
news:OT*************@tk2msftngp13.phx.gbl...
hi,
i would be very thankful if u can help me in solving this problem.

my problem is i 've a page in that i'm displaying the creation dates of all files. these dates are like server dates . now i've to display these
creationdates in the current logged in user desktop timezone.
thanks

Nov 16 '05 #2
Vaj
hi,
I've gone thr this.but my requirement is like ---
my apllication is installed in around 100 or more countries.
can i use any Request method to get the logged in user desktop time.or is
there any other way to get this.
"MyNews" <jo**************@thomson.com> wrote in message
news:eb*************@TK2MSFTNGP09.phx.gbl...
hi,

I suppose you are about to localize your app based on the current culture
and settings. Have a look at these namespaces.

System.Globalization
System.Resources
System.Threading

you can get / set the CurrentUiCulture from the running thread to display
according to the local settings.

rgds
Joyjit
"Vaj" <vi*******@hotmail.com> wrote in message
news:OT*************@tk2msftngp13.phx.gbl...
hi,
i would be very thankful if u can help me in solving this problem.

my problem is i 've a page in that i'm displaying the creation dates of

all
files. these dates are like server dates . now i've to display these
creationdates in the current logged in user desktop timezone.
thanks


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tim Morrison | last post by:
SQL Server 2000 - MSDE 2000 Is there a way to get the number of current users logged into a SQL 2000 Server (also MSDE)? Cant be distinct users as most users are logged into the database using the...
383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
1
by: Daniel Chou | last post by:
Hello, I have two questions about "not logged initially": 1. Before using "alter table tbname activate not logged initially", should the table be created with "not logged initially"? 2....
1
by: Mike Thomas | last post by:
I want to start this thread again - on my first attempt I was a little ambiguous and was not able to get the answer I need. I am trying to start Access 2000 on Windows NT 2000 Server by using the...
2
by: Steve | last post by:
A main form contains ten textboxes and ten subforms. All ten subforms have the same query (Query2) for their recordsource. Query2 is based on a query (Query1). Each subform is linked to a different...
4
by: bughunter | last post by:
I'm sorry but previously command ALTER TABLE tbl ACTIVATE NOT LOGGED INITIALLY on table created without NOT LOGGED INITIALLY option was impossible. Or not? IMHO, more better give error or...
3
by: iwdu15 | last post by:
hi, im writing a program that will get all currently logged on users to my LAN. so far i can only egt all users, logged on or not, using the WMI Searcher object...ive looked on the MSDN website for...
2
Osoascam
by: Osoascam | last post by:
Hi! Well, this is my question. I have a Chinesse Checkers game, so there's a comboBox to choose number of players. A global variable named numJug (number Of Players) gets that number. So far, so...
5
by: jefftyzzer | last post by:
Friends, Three questions for you: 1. Are CREATE INDEX statements against DGTTs logged? 2. While running the SP recently, it died with a "transaction log filled" (SQL0964C) message while it...
3
by: ASh | last post by:
Hi, I have this source: import logging import logging.config logging.config.fileConfig("logging.properties") log = logging.getLogger("qname") log.debug("message")
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.