Last post Apr 10, 2012 01:13 PM by bbcompent1
Apr 09, 2012 02:02 PM|Selva mariappan|LINK
Please help on this,I have seen various forums and links, Please see the forums which i seen
But this is not what is expected , Please see my code which i tried,
<td><div id="flash_container_tt4f4fa6396eb15"> </div>
var flashMap = new SWFObject("http://24timezones.com/timescript/clock_final.swf", "main", "125", "125", "7.0.22", "#FFFFFF", true)
<td style="text-align: center; font-weight: bold">
<a href="Home.aspx" target="_blank" style="text-decoration: none" title="accurate time Shanghai">China</a>
But this is some not displaying correctly and depends on net, and i need it as same like this but it should not depend on internet.
Please any one help me, its very urgent
Apr 09, 2012 02:14 PM|bbcompent1|LINK
If you want this to not rely on the internet for the application, you're going to have to download the swf file from their site and host it on your local server. I would first contact them to ask if this is ok with them; remember, this is their intellectual
property. That should get you around the necessity to access the web to display the clock properly.
Apr 09, 2012 02:28 PM|Selva mariappan|LINK
Thanks for you reply !
Is there any other method available to display the clocks for various countries ?
Else the above method method is ok , but it is not working without hyperlink, and some times diaplaying only text, not that swf file,
Please do help on this.
Apr 09, 2012 02:33 PM|bbcompent1|LINK
Well, maybe this tidbit from code project might help you do this:
Apr 10, 2012 07:22 AM|Selva mariappan|LINK
Hi Thanks , for your link,
I am in need of ASP.Net world clocks, but this link demonstrates the windows application and also there is not clock displayed for various countries,
I am unable to upload or add my sample image, Please guide me to display the world clock in my asp.net page
Apr 10, 2012 11:54 AM|bbcompent1|LINK
Sorry, meant for you to focus more on the code behind that makes it work. Let me do some more digging and see what I can come up with.
Apr 10, 2012 12:08 PM|bbcompent1|LINK
Check out this link. They have a JS implementation of the world clock - hope its what you are actually looking for:
Apr 10, 2012 12:09 PM|Eng-Mondy|LINK
Just Change The Time Zone that U want .. I was using my Country Time Zone " Egypt " .. Time Zone u can get it from that Link
And The Code after <Body> Tag<script runat="server">
protected void Timer1_Tick(object sender, EventArgs e)
//Set the time zone information to US Mountain Standard Time
timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("Egypt Standard Time");
//Get date and time in US Mountain Standard Time
dateTime = TimeZoneInfo.ConvertTime(DateTime.Now, timeZoneInfo);
//Print out the date and time
<asp:ScriptManager ID="ScriptManager1" runat="server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
<asp:Label ID="time" runat="server" ForeColor="Red" Font-Size="Larger"></asp:Label>
Apr 10, 2012 12:50 PM|Selva mariappan|LINK
Thank you very much for both your contribution,
Please see this link :
In this there is a image called clock,weather and the clocks (red color clocks) , I need it like that clocks to my web pages.
Please let me know if you people have any more details,
Thanks in advance.
Apr 10, 2012 01:13 PM|bbcompent1|LINK
That will only work if you have sharepoint installed. They don't appear to allow you to see their source code.