|
|
|
|
|
Total Hits: 48 | Today: 0
|
Author: zackyp
|
Rating:
|
|

This simple C# Singleton class calculates the Sunrise and Sunset times for a given date. After searching for a simple and decent implementation for calculating Sunrise and Sunset times for given dates, and trying several implementations that were eiter too complicated to migrate to C# or simply not working, I found a simple yet working JavaScript implementation here: (http://home.att.net/~srschmitt/script_sun_rise_set.html). . I migrated the code to C#, tweeking it a little so that it provides ...
|
|
|
|
Total Hits: 119 | Today: 0
|
Author: Adarsh N
|
Rating:
|
|

TimePicker is quiet a simple control which displays 3 dropdownlist with 'Hours',' Minutes' and 'Am/Pm' for display and selection. The control gets rendered as shown below. The 'DotNet_TimePicker.zip' contains the document with images showing the usage....
|
|
|
|
Total Hits: 66 | Today: 0
|
Author: Ramesh Ketha
|
Rating:
|
|

Recently we had a requirement which demands knowledge of all the time zones and doing conversions from universal time to local time and vice versa, I have searched for the code, which would do this, but most of them happened to be in C#, article by Mike Dimmick is quite good but this was also in C# and there was very limited information available for doing this in C++, so I thought of putting C++ code which does this in code project. different steps involved in writing this code are explained in...
|
|
|
|
Total Hits: 130 | Today: 0
|
Author: Saroj Kumar Singh
|
Rating:
|
|

This Tool helps you to manage your Team member timesheet, unnecessarily thel will be filling the excel sheet to fill their time sheet, go for this tool which will help your team members to fill the time sheet and it will remind you also to fill the time sheet, time to time. You just need to start it in morning and it will stand in your taskbar....
|
|
|
|
Total Hits: 631 | Today: 0
|
Author: H. Eskandari
|
Rating:
|
|

The Persian Calendar is used in most countries where Persian is spoken, although some regions use different month names. The Persian calendar is the official calendar of Iran and Afghanistan, and is one of the alternative calendars in regions such as Kazakhstan and Tajikistan. The Persian calendar is based on a solar year and is approximately 365 days long. A year cycles through four seasons, and a new year begins when the sun appears to cross the equator from the southern hemisphere to the nort...
|
|
|
|
Total Hits: 349 | Today: 0
|
Author: Michael Krisky
|
Rating:
|
|

As part of a team creating a CRM software package, I am in charge of the user interface portion of the project. A requisite part of all CRM software is an appointment calendar. I initially chose to use the MonthCalendar control to allow the user to select the date of the appointment. After they create the appointment, I add the new date to the BoldedDates array of the MonthCalendar control to designate an appointment on that date. I was frustrated with the lack of customization available to the ...
|
|
|
|
Total Hits: 1774 | Today: 0
|
Author: GfWeis
|
Rating:
|
|

Click on the image and a calendar control will appear in a pop-up window. Click on the date and the calendar will close and the date will appear in the text box....
|
|
|
|
Total Hits: 3392 | Today: 0
|
|
Rating:
|
|

Getting and displaying dates is easy to do using .NET. Just start out by creating a new System.DateTime object and then set it too the current date using System.DateTime.Now...
|
|
|
|
Total Hits: 35 | Today: 0
|
Author: salysle
|
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)....
|
|
|
|
Total Hits: 127 | Today: 0
|
Author: Aleksey Bykov
|
Rating:
|
|

The Idaligo.Time library consists of a set of tools which allow iterating through a timeline. The iteration process is based on a schedule that specifies what time pieces to be involved into the iteration....
|
|
|
|
Total Hits: 678 | Today: 0
|
Author: Alexander Turlov
|
Rating:
|
|

In many cases developers have a demand of calculation and manipulations with business dates. Standard tasks are usually the following: Calculate next business date from current date. Calculate previous business date from current date. Calculate a date in future or in past that is distant from current date by several business days. Check if current date is a working day or holiday and so on. Formally, business dates set is a subset of calendar dates that doesn’t include such da...
|
|
|
|
Total Hits: 446 | Today: 0
|
Author: Ertan Tike
|
Rating:
|
|

Before writing this control, I was in need of a DayView control that just looks like that in Outlook. I have found some commercial toolkits but none of them meets my requirements. Some of those want that all appointments be given before showing the control, some of those are not open source etc. So I wrote this control in a "hurry development" and I think other people can use it. Pay back time for using the CodeProject...
|
|
|
|
Total Hits: 319 | Today: 0
|
Author: Michael Krisky
|
Rating:
|
|

This is the second part of my article: Customizable MonthCalendar Type Control. The new capabilities added to the MonthCalendar control include: Add appointments to the control. This will take the place of the BoldedDates array. Each appointment will contain a date, starting and ending times and a description. The date will appear bolded in the calendar; to view appointment info, right-click on the date. Print capability for month calendar. The month grid and up to four appointments for e...
|
|
|
|
Total Hits: 336 | Today: 0
|
Author: Bill Hoyland
|
Rating:
|
|

This article demonstrates how an irregular, skinnable world clock can be created and how application settings can be persisted using XML. The clock has been quite handy for working out who's awake and at their desk on a development project that spans multiple time zones. This Three Zone World Clock was inspired by the article by Iulian Serban called How to build a Clock control. I have used a stripped down version of Iulian Serban's clock painting code and added logic for dealing with three cloc...
|
|
|
|
Total Hits: 720 | Today: 1
|
Author: ger
|
Rating:
|
|

Sometimes, while writing programs, we can get into situations when we need to measure execution times of various tasks. Each programming language provides some mechanism to retrieve the current time from the system. If we read and store the system time at various moments, we can compute time intervals by substracting the values of system time taken at diffent moments. We will see how to read the system time and how to measure time intervals in C#. In C#, the DateTime class is used for storing th...
|
|
|
|
Total Hits: 751 | Today: 0
|
Author: CodeProject
|
Rating:
|
|

Did you ever used the DateTimePicker that comes with .NET ? If so, you must appreciate the easy to use drop down calendar where you click on the date that you need. You can even navigate the months and the years very easily at the top of its panel. Every user that just loves this component. Now from this article you can make your own DateTimePicker Control....
|
|
|
|
Total Hits: 4362 | Today: 0
|
Author: SuperDotNet
|
Rating:
|
|

This example illustrates how to compare two dates as well as the different methods to add to a datetime. ...
|
|
|
|
Total Hits: 912 | Today: 0
|
Author: Robert Chartier
|
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 ...
|
|
|
|
Total Hits: 871 | Today: 0
|
|
Rating:
|
|

Use of Date Jargaon in C#.The following program will use some functions of DateTime class.This is a console based program which shows current months calendar and also provide option for viewing next month,year,previous month,years calendar too. ...
|
|
|
|
Total Hits: 2685 | Today: 0
|
|
Rating:
|
|

Here is an example of how the DateTime Structure works for C#. It's extremely basic and very easy to follow....
|
|
|
|
|
|