[rt-users] Day of the week

Matthew Seaman matthew.seaman at thebunker.net
Fri Jan 16 03:55:47 EST 2009


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

-- 
Dr Matthew Seaman                        The Bunker, Ash Radar Station
PGP: 0x60AE908C on servers               Marshborough Rd
Tel: +44 1304 814890                     Sandwich
Fax: +44 1304 814899                     Kent, CT13 0PL, UK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090116/1b4d4b29/attachment.sig>


More information about the rt-users mailing list