473,804 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2105
hi,

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

System.Globaliz ation
System.Resource s
System.Threadin g

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

rgds
Joyjit
"Vaj" <vi*******@hotm ail.com> wrote in message
news:OT******** *****@tk2msftng p13.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******** *****@TK2MSFTNG P09.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.Globaliz ation
System.Resource s
System.Threadin g

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

rgds
Joyjit
"Vaj" <vi*******@hotm ail.com> wrote in message
news:OT******** *****@tk2msftng p13.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
17626
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 same login. -- Tim Morrison -------------------------------------------------------------------------------- Vehicle Web Studio - The easiest way to create and maintain your vehicle related website.
383
12284
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 poor man's DBMS, a broken email server and various other /application/ servers to try and crack the Internet and IS markets. In the case where they didn't spend their own money to get companies to
1
5495
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. After using "alter table tbname activate not logged initially", how to deactivate it?
1
2946
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 scheduler with the command line: "c:\Program Files\Microsoft Office\Office\msaccess.exe" "d:\Apps\ChangeManagement.mdb" /x StartLoad This works when I run it from the "run" box, or via the scheduler when I am
2
1810
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 textbox (LinkMaster) on the main form. Each textbox has a different value so each subform displays different records. Ques 1: When the form opens, how many times does Query1 run? Ques 2: When the form opens, how many times does Query2 run?
4
3071
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 warning on this statement for table created wihtout NOT LOGGED INITIALLY.
3
4796
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 help on WMI, but its a mess....does anyone have any hints on how to gety all currently logged on users on a network? -- -iwdu15
2
1437
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 good. The problem starts when you click "Accept" on that window, as it calls N times (numJug times) the window for chosing the color for every player. The thing is, it doesn't work. For 6 players, the window only appears for 1, 1, 3 and 5. (But it...
5
1964
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 was UPDATEing a NOT LOGGED DGTT. This is baffling and seems
3
1375
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
9712
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10341
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10089
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.