469,159 Members | 1,476 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,159 developers. It's quick & easy.

count months between two dates

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
1 11358
michaelb
534 Expert 512MB
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.

Similar topics

16 posts views Thread by sandy | last post: by
18 posts views Thread by jimfortune | last post: by
20 posts views Thread by none | last post: by
2 posts views Thread by bufbec | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.