Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

 

Parsing and validating string dates
Total Hit (2752) If you have a string variable that should specify a date (asked in input to the user, for example), you can parse the string and get a Date variable by using the Date.Parse method. If the input string is not in a valid format, this method throws an exception though. Follows a routine that parses a s ....Read More
Rating
Weekday names in any language
Total Hit (2335)
Rating
Age - Evaluating the age of a person, given his/her birth date
Total Hit (2086) «Code LangId=2»' Evaluate the age of a person, given his/her birth date ' Example: Debug.WriteLine(Age(#9/28/1980#)) ' => 22 Function Age(ByVal birthDate As Date, Optional ByVal currentDate As Date = #1/1/ _ 1900#, Optional ByVal exactAge As Boolean = True) As Integer If currentDate ....Read More
Rating
BusinessDateAdd - Adding or subtracting a number of business days from a date
Total Hit (2372) «Code LangId=2»' Add or subtract a number of business days from a date ' Example: Debug.WriteLine(BusinessDateAdd(#4/9/2003#, 5)) ' => 4/16/2003 Function BusinessDateAdd(ByVal startDate As Date, ByVal days As Integer, _ Optional ByVal saturdayIsHoliday As Boolean = True) As Date Do Wh ....Read More
Rating
BusinessDateDiff - Evaluating the number of business days between two dates
Total Hit (2486) «Code LangId=2» ' Evaluate the number of business days between two dates ' Example: Debug.WriteLine(BusinessDateDiff(#4/9/2003#, #4/25/2003#)) ' => 12 Function BusinessDateDiff(ByVal startDate As Date, ByVal endDate As Date, _ Optional ByVal saturdayIsHoliday As Boolean = True) As Integer ....Read More
Rating
EasterDate - Evaluating the Easter date for a given year
Total Hit (2711) «Code LangId=2»' Evaluate the Easter date for a given year ' Example: MessageBox.Show(EasterDate(2003).ToLongDateString()) Function EasterDate(ByVal year As Integer) As DateTime Dim g, c, h, i, j, l, month, day As Integer g = year Mod 19 c = year \ 100 h = ((c - (c \ 4) - ....Read More
Rating
GetRoshHashanah - Retrieving the date that Rosh Hashanah begins in the requested year
Total Hit (2365) «Code LangId=2» ' Returns the date that Rosh Hashanah begins for the requested year. ' It is important to note that Rosh Hashanah is based on the Lunar cycle so the ' Holiday actually begins at sunset of the day before the date returned by this ' function. ' Note: Many dates in the Jewish ....Read More
Rating
Using "Date" intervals in VB.NET
Total Hit (2485) The versatile Date datatype in VB.NET provides a large amount of built in functionality to manipulate dates and times. The ability to add, subtract and compare date values is very useful in particular. For example, suppose you are managing hundreds of clients in an insurance company. Since insu ....Read More
Rating
Convert dates entered by user as strings to VB Date values.
Total Hit (3617) This code formats a date string entered by the user, adding slashes and correct number of year digits and converts it to a proper date format. You can use the following code to make your user interface more friendly. It will help you in correcting and preventing mistakes over what date is entered. ....Read More
Rating
Converting a date string entered by the user to a VB Date value.
Total Hit (2263) This code formats a date string entered by the user, adding slashes and correct number of year digits and converts it to a proper date format. You can use the following code to make your user interface more friendly. It will help you in correcting and preventing mistakes over what date is entered. ....Read More
Rating
Using Date values in VB.NET
Total Hit (2177) The versatile Date datatype in VB.NET provides a large amount of built in functionality to manipulate dates and times. The ability to add, subtract and compare date values is very useful in particular. For example, suppose you are managing hundreds of clients in an insurance company. Since insu ....Read More
Rating


Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.