Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3875
  • Last Modified:

Get Month and Year from date field...

How can I get the MONTH and YEAR from a Date field in an Interbase database  (I believe it's 7)
0
kevp75
Asked:
kevp75
1 Solution
 
Nick UpsonPrincipal Operations EngineerCommented:
select extract(month from datefield) from mytable

or within an SP

mymonth =  extract(month from datefield);
0
 
kevp75Author Commented:
DOH...

figured it out, just before you posted that :)

points off to you :)  thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now