You're welcome, Sergio....and a Happy New Year too.

(btw, 2011 is the sum of eleven *consecutive* prime numbers, and is
itself a prime number....)



On 01/03/2011 07:20 AM, Carlos Romero Martin wrote:
> On Mon, 3 Jan 2011 07:17:47 -0600, Dave Jones <d...@vsoft-software.com>
> wrote:
>> Try this Sergio.....
>>   day_name = Date('W', '01/12/10', 'E')
>>
>> On 01/03/2011 07:10 AM, Sergio Lima wrote:
>>>
>>> Hello List.
>>>  
>>> I have a CMS file, and need convert the date in the format DD/MM/YY
>>> (01/12/10), to week day.
>>>  
>>> Try used this, but don't work :
>>>  
>>>     52 *-*     data = word(saida,1)                                    
> 
>>>
>>>        >>>       "01/12/10"                                            
> 
>>>        >>>
>>>     54 *-*     campoa = date('w',data)                                 
> 
>>>
>>>     54 +++     campoa = date('w',data)                                 
> 
>>>
>>>     20 +++    call vetipo                                              
> 
>>>
>>>      5 +++ call processa                                               
> 
>>>
>>> DMSREX475E Error 40 running CPUXX EXEC, line 54: Incorrect call to
>>> routine
>>>  
>>> Is possible, do this what We need?
>>>  
>>> Thanks very much.
>>> Sergio Lima Costa
>>> Sao Paulo - Brazil
> or this
>  day_name = Date("W",Date("E"),"E")
> 

-- 
Dave Jones
V/Soft Software
www.vsoft-software.com
Houston, TX
281.578.7544

Reply via email to