473,385 Members | 1,922 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,385 software developers and data experts.

Question: Universal date time

Guys,

I have intranet application which our users use in offices all over the
world. How can i retrieve the date and time on their pc and display it on the
screen no matter what country they are in?

Is this possible in .Net?

Thanks

Manny
Nov 19 '05 #1
3 1230
Manny Chohan,

You can you javascript for this.
http://www.google.com/search?num=20&...e+and+time&lr=

Hope this help,
Arjen

"Manny Chohan" <Ma*********@discussions.microsoft.com> schreef in bericht
news:90**********************************@microsof t.com...
Guys,

I have intranet application which our users use in offices all over the
world. How can i retrieve the date and time on their pc and display it on
the
screen no matter what country they are in?

Is this possible in .Net?

Thanks

Manny

Nov 19 '05 #2
We have to use client-side date functions that can be found at the
JavaScript FAQ [1] which is one of the best resources on the planet.

It would be a lot more useful to use .NET to build web services that could
aggregate the collection of times from each remote location and display the
collection as a series of clockfaces that could popUp from the system tray.
Anybody in the company, or any business partner the application would be
deployed to could immediately determine the local time of a remote office or
collaborating business partner or customer. I'm actually surprised I haven't
seen something like this yet.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.irt.org/script/date.htm
"Arjen" <bo*****@hotmail.com> wrote in message
news:d9**********@news6.zwoll1.ov.home.nl...
Manny Chohan,

You can you javascript for this.
http://www.google.com/search?num=20&...e+and+time&lr=

Hope this help,
Arjen

"Manny Chohan" <Ma*********@discussions.microsoft.com> schreef in bericht
news:90**********************************@microsof t.com...
Guys,

I have intranet application which our users use in offices all over the
world. How can i retrieve the date and time on their pc and display it on
the
screen no matter what country they are in?

Is this possible in .Net?

Thanks

Manny


Nov 19 '05 #3
clintonG wrote:
"Arjen" <bo*****@hotmail.com> wrote in message
news:d9**********@news6.zwoll1.ov.home.nl...
"Manny Chohan" <Ma*********@discussions.microsoft.com> schreef in bericht
news:90**********************************@micros oft.com...
Guys,

I have intranet application which our users use in offices all over the
world. How can i retrieve the date and time on their pc and display it on
the
screen no matter what country they are in?

Is this possible in .Net?

Thanks

Manny


Manny Chohan,

You can you javascript for this.
http://www.google.com/search?num=20&...e+and+time&lr=

Hope this help,
Arjen


We have to use client-side date functions that can be found at the
JavaScript FAQ [1] which is one of the best resources on the planet.

It would be a lot more useful to use .NET to build web services that could
aggregate the collection of times from each remote location and display the
collection as a series of clockfaces that could popUp from the system tray.
Anybody in the company, or any business partner the application would be
deployed to could immediately determine the local time of a remote office or
collaborating business partner or customer. I'm actually surprised I haven't
seen something like this yet.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.irt.org/script/date.htm


That is actually a rather nifty idea, but I think he is trying to say he
wants it in a web page, not as a series of clocks in the system tray.

What I would do in this case (assuming an on-the-web page solution), is
write variables for each office (in JavaScript) that describe their time
offset from the web server, and then create JavaScript clocks that use
the offsets to determine what time these locations have relative to the
server. As well, the current server time would have to be passed on to
the JavaScript as well (via ASP.NET writing a variable into the JS). You
would not want to use the time on a user's own computer, because a
user's computer might actually be off in terms of its own actual clock
(not everyone uses XP, and not every XP machine may be updating its
clock across the 'net). The only thing that might trip him up is
daylight savings time. Not every country implements it, so if his server
does but some of his offices are in places where they don't, then he can
have a time dysfunction of an hour.

....Geshel
--
************************************************** ********************
My reply-to is an automatically monitored spam honeypot. Do not use it
unless you want to be blacklisted by SpamCop. Please reply to my first
name at my last name dot org.
************************************************** ********************
Nov 19 '05 #4

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

Similar topics

17
by: Steve Jorgensen | last post by:
Terminology question: Is there a term for a set of records related directly or indirectly by key value in several tables? For example, a single invoice record and its line item records -or- a...
0
by: Nick Kew | last post by:
Rationale ========= Many applications today benefit from an SGML and/or XML Entity Catalogue to dereference entities referenced by a Public Identifier. For a validating SGML parser this is an...
2
by: charl | last post by:
Hi, My apologies in advance if my terminology is slightly confused, I am new to all this. We have previously been running some SQL on DB2 (v7) utilising a type 3 driver, and have made the...
1
by: AmiciDan | last post by:
When I attempt to create a new project in Visual Studio .NET 2003, I do NOT have the option to create the following: Microsoft Office 2003 Projects What do I need to install or do to get this...
33
by: news.microsoft.com | last post by:
To Microsoft and fellow MSDN Universal subscribers... Regarding new MSDN Universal (I mean Premier) price and level changes: 1) Way too expensive for the small and medium developer Universal...
5
by: thomasamillergoogle | last post by:
I am building a .net client application that will be deployed world wide. The client can schedule reminders. To do this the user picks the datetime he wants the reminder sent, _I convert the...
5
by: AMP | last post by:
Hello, I want to add some variables to a string and this isnt working. textBox1.Text="'BSL version='+ bslVerHi+ bslVerLo"; What am I doing wrong? Thanks Mike
5
by: Smithers | last post by:
The System.IO.FileInfo class provides us with a few properties that involve time: CreationTime CreationTimeUtc LastAccessTime LastAccessTimeUtc LastWriteTime LastWriteTimeUtc What is the...
14
by: Robin Becker | last post by:
A user reports problems with one of our extensions when running the intel compiled extension on ppc and vice versa. He is building the extension as a universal binary. Although the intel compiled...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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...

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.