Subject Re: Spelled out date on form
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Thu, 23 Apr 2015 22:29:07 -0700
Newsgroups dbase.getting-started

On 4/23/2015 6:14 PM, Randy Waldman wrote:
> Does anyone know how to spell out a date on a report?  For example:  April 23, 2015
>
> I guess that I could use a 12-sided case statement:
>     DO CASE
>       case month(date() = '01'
>           mymonth = 'January'
> etc.

In the dUFLP, class DateEx.cc has many methods for dealing with dates.

set proc to :dUFLP:DateEx.cc
? dateText( {04/23/2015} )

(The dUFLP is a freeware library of code, see the dBASE Page below ...)

Ken


--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#dUFLP
dBASE Books: http://www.goldenstag.net/dbase/dBASEBooks.htm