how can I display the local time of Bahrain on my website regradless where the website is hosted and from where user is browsing it?
View Complete Post
setInterval is suppose to execute the script every second there getting the most uptodate time of day , but it does not update it stays the same
<html> <body> <form> <script type="text/JavaScript"> <!-- function interval() { setInterval("time()", 1000); } function time() { var d = new Date(); var time = d.getHours(); var time2 = d.getMinutes(); var time3 = d.getSeconds(); document.write(time); document.write(" : "); document.write(time2); document.write(" : "); document.write(time3); } // --> </script> <input type="button" OnClick="interval()" value="Click Me!"/> </form> </body> </html>
I want to display real time data in graph , the data is coming from database every 5 sec.
Please Can anyone help me?
I have some Date fields defined in my sqlserver database but these display with a time part as well (00:00:00).
how do i esnure that only the date part is displayed and not this redundant time?
John
Hi All,
I want to display 24 hours time and date in SSRS & for that I am using Format(now,"MM/dd/yyyy HH:mm:ss") but I am using this expression in Parameter, where I need to define datatype of that parameter as DateTime, not string. For Expression Format(now,"MM/dd/yyyy HH:mm:ss"), If I use DateTime datatype, It is showing error but working with String datatype.
For example:
I have parameter To Date and value of this parameter should be 10/11/2010 13:09:16 (To Date: 10/11/2010 23:09:16) , not in AP or PM format and datatype of this parameter, want to keep DateTime that I can select value from Calender.
Please suggest me how I can achieve this?. I don't want to do it in stored Procedure side, want to do it in report side.
Hi there,
I derive a control from an existing one (a treeview) and properties to it. I want these properties to be easily editable during design-time in the properties window of the control.
When I add a public property representing a simple datatype (boolean, integer, ...) the property value can be edited in the property window. But when the datatype is a morge complex object, the property is disabled in the property window and can't be edited.
Below is a sample property which should be used to allow the user of the property to choose a color. What needs to be added to the code to make it work?
Private _SelectedNodeColor As System.Drawing.Brush ''' <summary> ''' Gets or sets the SelectedNodeColor. ''' </summary> ''' <value>SelectedNodeColor</value> ''' <returns>SelectedNodeColor</returns> ''' <remarks></remarks> Public Property
Hello, All,
Is there way to display the rdl last modified time on Report in SSRS 2005?
Thanks,
J.W.
Hi,
We have an InfoPath 2007 form integrated with SharePoint 2007 and uses Web Service as Data Sources. The end users are located in multiple time zones in US and Australia. The server is located in US Eastern time zone. We would like the form to display user's local date and time.
The return of web service shows correct local date and time, except the time zone keeps at -04:00. For example during the one hour after midnight Eastern Time, the web services return:
Eastern: 2011-04-13T00:04:03.793537-04:00
Central: 2011-04-12T23:04:15.5734594-04:00
Mountain: 2011-04-12T22:04:24.3693642-04:00
Eastern Australia: 2011-04-13T15:04:18.8366836-04:00
When I preview the form it shows correct date, but after uploading it to SharePoint and view in web browser, the date is off by one day (either ahead or behind).
My looked at this post http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/677c03e4-8d71-43b3-aff9-1b6662a2528a but I don't get how it display different dates in different timezones by using UTC.
How can I make sure the form ignores the server time or the time zone indicated in the web service return, and just display the date as it is?
thanks,
grace
I can not display any XML based documents hosted on my local IIS. It refuses to serve even the simples for xml documents. I cannot, for example, run 'svcutil.exe http://localhost/my.wsdl' but I can 'svcutil.exe C:\Intetpub\wwwroot\my.wsdl'. None of my websites display properly. I may add that I'm running IIS 7 on Win2008R2, 64bit hosted in VM.
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend