[rt-users] Day of the week

Tomáš Sára sara at edhouse.cz
Mon Jan 19 06:48:10 EST 2009


Thank you everybody for your help. This:

  my $dayOfWeek = POSIX::strftime ("%A", localtime );
  $RT::Logger->debug("Day of Week is : $dayOfWeek ");

works fine. I had a stupid error there,
Tom.

Micah Gersten napsal(a):
> This might be what you're looking for:
> http://search.cpan.org/~stbey/Date-Calc-5.4/Calc.pod
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
>
>
> Tomáš Sára wrote:
>   
>> Hello everybody,
>>
>> is there a possibility to find out the day of the week out of the date? 
>> I sopose there should be a perl function for this. Am I right? I 
>> searched mailing lists but I didn't find any information there.
>>
>> Thanks in advance for any help,
>> Tom.
>>   
>>     
>
>   




More information about the rt-users mailing list