16,003,243 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Jani Giannoudis (Top 16 by date)
Jani Giannoudis
22-Aug-12 8:35am
View
Assuming the hour on both dates is 00:00, the difference is 30 days. In case of August, it's not 1 month.
Jani Giannoudis
17-Aug-12 2:25am
View
Reason for my vote of 5
Thanks Aspen, good articles.
You may add information about author and issue (year/month).
Jani Giannoudis
13-Jun-12 3:03am
View
Depending oh the culture, the DateTime.ToString can be conflicting for a file name. You may use string filename = string.Format( "99-Authorize.Net - {0} @ {1}", date1.ToString( "yyyyMMddHHmmss" ), date2.ToString( "yyyyMMddHHmmss" ) );
Jani Giannoudis
26-Apr-12 9:59am
View
In case of midnight change, you should use a custom validator in combination with the JavaScript Date.getDay().
Jani Giannoudis
18-Apr-12 1:59am
View
Sorry, there is no bold line recognizable :). On which statement do you have the error?
Jani Giannoudis
28-Mar-12 7:45am
View
That's true. A customizable solution would be a List<DayOfWeek> as implemented in the class CalendarDateAdd of the http://www.codeproject.com/Articles/168662/Time-Period-Library-for-NET.
Jani Giannoudis
18-Sep-11 14:09pm
View
Use DateTime.Now only one time in case the day changes between the calls. See solution of Bill.
Jani Giannoudis
14-Sep-11 16:34pm
View
Deleted
Reason for my vote of 5
very useful.
Jani Giannoudis
14-Sep-11 14:37pm
View
Copy the library 'Pub\Desktop.Release\Itenso.TimePeriod.dll' to you your project and add the reference to your project. After adding the using 'Itenso.TimePeriod' to your source code, you can use my sample code.
Jani Giannoudis
8-Sep-11 11:08am
View
Deleted
Many thanks :)
Jani Giannoudis
13-May-11 16:51pm
View
Did you mean that one pair (start/end) contains the date-part and the other pair contains the time-part?
Jani Giannoudis
11-May-11 1:23am
View
Deleted
Cool! ;)
Jani Giannoudis
15-Apr-11 7:19am
View
You can download the library which includes the 'Pub\Desktop.Release\Itenso.TimePeriod.dll'. After adding a reference to your VB.NET project, you can adapt the few lines of my solution.
Jani Giannoudis
8-Apr-11 12:02pm
View
see solution 4 ;)
Jani Giannoudis
5-Apr-11 0:14am
View
Deleted
Reason for my vote of 3
- Multiple interpretation of the same PROC signature
- what's about IDENTITY ids?
- what's about different rights for create and update?
- how do you handle creation fields (Created/CreatedBy)?
Jani Giannoudis
18-Mar-11 19:23pm
View
See also this question: http://www.codeproject.com/Questions/120609/Calculate-the-Date-Difference-and-Convert-into-Wee.aspx.
Show More