Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > C-Sharp > Date & Time


Search:
What's New - What's Hot
Extending the DateTime structure in C#: Part II  Version: 0.00     Price: $0.00  
Total Hits: 10  |  Today: 0Author: Vulpes      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the conclusion to Part I of this article (http://www.c-sharpcorner.com/UploadFile/b942f9/6714/), I mentioned that I would be adding some further extension methods for the DateTime structure in Part II which deal with the durations between dates....

Timer in C#  Version: 0.00     Price: $0.00  
Total Hits: 15  |  Today: 0Author: Mahesh Chand      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Timer control allows you to set a time interval to execute an event after that interval continuously. It is useful when you want to execute certain applications after a certain interval. Say you want to create a backup of your data processing in every hour. You can make a routine which will take the backup and call that routine on Timer's event and set timer interval for an hour....

ExtendedDateTimePicker control with week numbers  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: _JERKER_      Rating:  
Read Reviews | Write Review |  Your Rating: 

My mission was to find a DateTimePicker control supporting week numbers. This was not as easy as I'd expected it to be...

After having Googled all day (almost), and obviously not finding any code here at The Code Project, I found a bit of VB code that helped me further... However, as all my components are written in C#, I started "translating" it. This article simply enlists the code in C#. The original VB code under the original article "Displaying week numbers in a DateTimePicker contro...

Date-Time Conversion Utility  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: Alvaro Mendez      Rating:  
Read Reviews | Write Review |  Your Rating: 

Lately I've had to do a lot of work with CTime and COleDateTime object variables. They're pretty nice classes to work with but not when you're debugging and need to know their actual date-time values. The CTime class stores its value in a time_t member variable and COleDateTime uses the DATE type to keep its value. Unfortunately when we need to know what they mean in human-readable format, such as 11/03/1999 14:08:56, it's not possible without explicitly writing some code to format them into a s...

Noda –DateTime Extensions for .NET  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 0Author: vossccp      Rating:  
Read Reviews | Write Review |  Your Rating: 

Before you start wondering what Noda might stand for: Noda stands for nothing, except that it tries to express its conceptional closeness to the popular Java Framework called Joda....

Any Day of the Week Using the Doomsday Rule  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: Paul J. Weiss      Rating:  
Read Reviews | Write Review |  Your Rating: 

An ingenious yet simple way to calculate the day of the week for any date was invented by John Conway called the Doomsday rule. I highly recommend reading the article by S.W. Graham which fully describes the algorithm. Basically by knowing which day of the week February 28 or 29 (leap year) falls on during a given century and which day of the week corresponds to that day for all the other months one can determine any day of the week. The following table summarizes which integers represent weekda...

How to synchronise your Windows 2000 machine using SNTP  Version: 0.00     Price: $0.00  
Total Hits: 7  |  Today: 0Author: Rob Manderson      Rating:  
Read Reviews | Write Review |  Your Rating: 

I used to run Atomic clock to keep my system time accurate. But after the last rebuild of this computer I didn't want to reinstall it. So I did a bit of poking around in MSDN and found the steps needed to let Windows 2000 synchronise itself to an internet time source using a service that's shipped as part of the operating system....

TaskTimer - an object to monitor task execution  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 0Author: Ravi Bhavnani      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes TaskTimer, a lightweight object that lets you easily track a task's elapsed and remaining times. Although there are various CodeProject articles that describe this functionality, this article separates the GUI aspect of progress display from the time computation. Because TaskTimer isn't part of any control or dialog, you can make use of its functionality in any user interface. TaskTimer also handles pausing and restarting the task being timed....

ACCU 2009: So many sessions, so little time...  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Anna-Jayne Metcalfe      Rating:  
Read Reviews | Write Review |  Your Rating: 

Well, we're here at the Barcelo Oxford Hotel again, and for us ACCU 2009 starts tomorrow (though the pre-conference workshops happen on the Tuesday, we haven't booked onto one this year).

We are a little more prepared this year than last - for example we now have a 6 foot roll-up banner, better printed materials and a pair of Q9550 quad core machines configured as a networked code analysis demonstrator. All of that adds up to quite a load to move (and we obviously do not want to leave equ...

Blendability Part II – Design time support for Prism  Version: 0.00     Price: $0.00  
Total Hits: 6  |  Today: 0Author: Tomer Shamam      Rating:  
Read Reviews | Write Review |  Your Rating: 

In my previous post I’ve presented the Blendability concept and explained how to leverage Blend’s sample-data generation in order to support view-model at design time.

In this post I would like to continue with this concept and reveal a tiny research I’ve done related to design time support of Prism modules....

Blendability Part I – Design time ViewModel  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 0Author: Tomer Shamam      Rating:  
Read Reviews | Write Review |  Your Rating: 

In case that you haven't added the word ‘Blendability' to your XAML Jargon yet, I’m sure this post will inspire you doing so.

The Blend-ability term describes how a piece of data model or view model is viewable or designable at design time, whether by Expression Blend or Visual Studio Designer....

Simple C++ Timer Wrapper  Version: 0.00     Price: $0.00  
Total Hits: 11  |  Today: 0Author: ken.loveday      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are a wide variety of Windows timers available, this along with their different methods of implementation can make the task of including a simple timer into a piece of source code rather confusing, especially for someone new to C++. TemplateTimer does noting special but does offer a convenient wrapper for the programmer who needs to implement a simple timer within a C++ class....

Programming for Date Ranges  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 0Author: Charles Boyung      Rating:  
Read Reviews | Write Review |  Your Rating: 

What do those labels mean to the user? For most users, those labels are taken to mean "From the start of Start Date through the end of End Date", or to be more exact, from midnight on Start Date until 11:59:59 pm on End Date. However, I have seen too many examples to count where programmers just take those two dates and plug them into the @StartDate and @EndDate in my example above. This is a pretty big problem for the user because now when they enter an end date, they are not getting data un...

Determine the Time since the Last Boot Up in C#  Version: 0.00     Price: $0.00  
Total Hits: 6  |  Today: 0Author: Scott Lysle      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes an approach used to determine the time of the last system boot up and to display the time elapsed since boot up. The application uses element of the System.Management library to run a select query against Win32_OperatingSystem; the application also display the amount of elapsed time since system boot up by comparing the boot up time against the current time; the elapsed time is updated every 1000 milliseconds whilst the application is running. A TimeSpan object is used to...

Set Web User Control Properties in Design Time  Version: 0.00     Price: $0.00  
Total Hits: 10  |  Today: 0Author: Ashish Singhal      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article will show the initilization of user control properties at design time.

Use your style sheet to set styles of your control. It is being added dynamic so you can provide class names at design time when you register control.[see below the form tag]....

C++ DateTimePicker in DataGridView  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Ger Hayden      Rating:  
Read Reviews | Write Review |  Your Rating: 

I searched high and low for an article in Windows Forms using C++ .NET to demonstrate how to add a datetimepicker to a DataGridView, and for added spice, allow null values. There is an abundance of articles using C#, but no C++....

Building a UNIX Time to Date Custom Control in C#     
Total Hits: 183  |  Today: 0Author: salysle      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article addresses the construction of a custom control that will convert UNIX time into useful and readable dates for display in a Win Forms application. The control will accept either a standard date or UNIX time value and can convert the value in either direction (From UNIX Time to Date or from Date to UNIX Time)....

C# Simulating the DataDiff Function     
Total Hits: 1066  |  Today: 0Author: Robert Chartier      Rating:  
Read Reviews | Write Review |  Your Rating: 

This method is used to simulate the VBScript DateDiff Function. It is in Beta right now.I have not yet implemented all of the arameters to the method, just the more commone ones
...

Bulk Date Changer using .Net Framework     
Total Hits: 312  |  Today: 0Author: Simon Harris      Rating:  
Read Reviews | Write Review |  Your Rating: 

Since my company does a lot of .NET consultancy, one of our recent projects required that file i/o access be denied if the user running the application did not have administrator privileges. A lot has been written about the command line utility caspol.exe, however, this can seem a little over the top and quite complex when considering code groups, policy levels and zone management....

Extending the DateTime structure: Part I  Version: 0.00     Price: $0.00  
Total Hits: 10  |  Today: 0Author: Vulpes      Rating:  
Read Reviews | Write Review |  Your Rating: 

Although the methods and properties provided by the System.DateTime structure appear comprehensive, judging by the number of questions asked on .NET forums about date manipulations, they're not comprehensive enough!...


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net