[rt-users] Day of the week
Tomáš Sára
sara at edhouse.cz
Fri Jan 16 05:56:30 EST 2009
Thanks for your answer. What you wrote works fine in shell. I need to do
this in scrip. Is there any possibility?
Thanks a lot for any comments,
Tom.
Matthew Seaman napsal(a):
> 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,
>
> % perl -MPOSIX -le 'print strftime "%A", localtime;'
> Friday
>
> Cheers,
>
> Matthew
>
More information about the rt-users
mailing list