By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,943 Members | 1,890 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,943 IT Pros & Developers. It's quick & easy.

count months between two dates

P: 1
somebody please help me....
i want to create function to count a number of mount between 2 date.
in microsoftsql we can use datediff(month,fromdate,todate) , or in oracle we use monthbetween....what about in postgresql ?
or somebody can write for me the function please ?
thanks a lot....
May 16 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 534
Look at the Date/Time functions, if you have any questions post your code and we'll help you.
May 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.