[AccessD] Month problem

Stuart McLachlan stuart at lexacorp.com.pg
Mon Jan 3 15:02:26 CST 2005


On 3 Jan 2005 at 14:52, Kaup, Chester A wrote:

> Why does the following function return 0 rather than 12? Is there a
> better way to do this?
> Month(Date())-1
> 

Month() returns a number between 1 and 12, since you are subtracting 1 from 
it, it will retun 0 in January.

A better way to do what?


 -- 
Stuart





More information about the AccessD mailing list