- How to get the correct file time in C# in .NET Framework 2.0
Introduction .NET Framework 2.0 misreports file date-time information. Through the Time and TimeInfo functions, you may get a wrong time info for files. A workaround is provided here, so are instructi …
Convert GMT to Local Date time – CodeProject
Introduction Almost all internationalization enabled applications save the datetime columns in UTC/GMT time zones and convert datetime to local time zones based on users time zone preferences. This pr …
JavaScript DateTime and TimeSpan Wrappers – CodeProject
//Get the current date and time stamp. var date = DateTime.now(); //Add 100 hours to the date date = date.addHours(100); //Write the date in a formatted fashion: Monday, 15/Feb/2012 document.writeline …
DateTime Values according to the remote time zone- CodeProject
Download source code – 5.7 Kb Introduction In the web applications we are often displaying date/time values. But how can we display value according to the user’s time zone? We can do this by using fol …
Date and Time in C++ – CodeProject
Introduction Aside from string s, another area where things are probably a little more messy in the C++ and Windows world than it needed to be, has to be the date and time area. Starting with C and wi …
ZoneInfo (tz Database / Olson Database) .NET API – CodeProject
// Iterate through all the zone strings foreach (string zoneName in Database.GetZoneNames()) { Zone z = Database.GetZone(zoneName); Console.WriteLine("Zone: " + z.Name + "\n\thas a loca …
Fixing Daylight Saving Time of Windows for Next 100 years
Download source – 6.9 KB Introduction Microsoft has not updated Iran's daylight saving time information since 2009. Probably because between 2005 and 2008, Iran did not observe daylight saving ti …
Beating the Daylight Savings Time Bug and Getting Correct File …
Windows reports erroneous file modification times, which change according to daylight savings. This article describes why this is so and how to determine correct file modification times and avoid the …
An Idea How to Use Google Maps – CodeProject
Files: Solar.cpp ApplicationData.cpp Time Zone Data In time mode, a left button click on the map will move the red marker to the new position and following data are retrieved from googleapis.com: dayl …
Client-side caching for script methods access in ASP.NET AJAX
Background Cache is one of the most important aspects of building high performance and scalable web applications. As one of the key features in ASP.NET AJAX, calling a script method from a client woul …
コメント