Let me ask a couple of more specific questions. I want to create several
date fields. They need to work for the following two circumstances.
1) If the CREATE DATE is any day in January 2005, how do I create the
following:
1st field: First date of previous month in format 12/1/2004
2nd field: Last date of previous month in format 12/31/2004
3rd field: Last date of prevous month in format December 31, 2004
4th field: Year portion of previous month in format 2004.
2) If the CREATE DATE is December 2004, how do I create:
1st field: First date of previous month in format 11/1/2004
2nd field: Last date of previous month in format 11/31/2004
3rd field: Last date of prevous month in format November 30, 2004
4th field: Year portion of previous month in format 2004.