Click here to Skip to main content
Licence 
First Posted 31 May 2005
Views 23,552
Bookmarked 12 times

Convert Date Leap year to Gregorian

By | 31 May 2005 | Article
Convert Date Leap year to Gregorian (shamsi - Miladi) Calender

Download source code

Download demo code Sample screenshot

This program is a simple example for Convert Date Leap to Gregorian Calender. You just should in this method it's enough That , First merge File's ConvertDate.cpp and ConvertDate.h into your program.

i use of this fuction into file ConvertDate.cpp

convert Date Leap Year To Gregorian :

int CConvertDate::OutDateGregorian (int D,int M,int Y,int what) 

Input:

D ==> Day

M ==>Month

Y ==>Year

what

 if what==0 Output Day

if what==1 Output Month

if what==2 Output Year

 

convert Date Gregorian Calender To Leap Year :

int CConvertDate::OutDateLeap(int D,int M,int Y,int what) ... 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Behzad Bahjat Manesh



Iran (Islamic Republic Of) Iran (Islamic Republic Of)

Member

I am from Iran, and Live in Ardakan City.
I am Computer engineering (HardWare).
I programming in VC++ & C++ & Assembly & Basic

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Questionconvert date shamsi to miladi Pinmembershabnam derakhshan3:43 27 Feb '12  
AnswerRe: convert date shamsi to miladi PinmemberBehzad Bahjat Manesh5:39 27 Feb '12  
Generalhi PinmemberJaanviragu21:32 27 Sep '07  
Generalmoshkel Pinmembermehdi135514:27 2 Sep '07  
GeneralEhm... PinmemberGeert van Horrik7:12 31 May '05  
GeneralRe: Ehm... PinmemberBehzad Bahjat Manesh21:35 1 Jun '05  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 31 May 2005
Article Copyright 2005 by Behzad Bahjat Manesh
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid