Click here to Skip to main content
11,641,014 members (62,831 online)
Click here to Skip to main content

Convert Date Leap year to Gregorian

, 31 May 2005 30.5K 1K 13
Rate this:
Please Sign up or sign in to vote.
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

Share

About the Author

Behzad Bahjat Manesh
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
I am from Iran, and Live in Ardakan City.
I am Computer engineering (HardWare).
I programming in VC++ & C++ & Assembly & Basic

You may also be interested in...

Comments and Discussions

 
Questionconvert date shamsi to miladi Pin
shabnam derakhshan27-Feb-12 3:43
membershabnam derakhshan27-Feb-12 3:43 
AnswerRe: convert date shamsi to miladi Pin
Behzad Bahjat Manesh27-Feb-12 5:39
memberBehzad Bahjat Manesh27-Feb-12 5:39 
Generalhi Pin
Jaanviragu27-Sep-07 21:32
memberJaanviragu27-Sep-07 21:32 
Generalmoshkel Pin
mehdi13552-Sep-07 14:27
membermehdi13552-Sep-07 14:27 
GeneralEhm... Pin
Geert van Horrik31-May-05 7:12
memberGeert van Horrik31-May-05 7:12 
GeneralRe: Ehm... Pin
Behzad Bahjat Manesh1-Jun-05 21:35
memberBehzad Bahjat Manesh1-Jun-05 21:35 

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.

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