luckypower has asked for the wisdom of the Perl Monks concerning the following question:
Hellow monks,
I am writing a perl script to connect IMAP server.
i am using Mail::IMAPClient module.
$imap->Rfc2060_datetime(time);
This function will return the date & time of server.
but the problem comes here.
when i run this script, time() function will calculate seconds from my systems current date.
now i use this seconds as parameter of Rfc2060_datetime function so it will calculate the date & time of server form that seconds.
Any help ....??
i am using Mail::IMAPClient module.
$imap->Rfc2060_datetime(time);
This function will return the date & time of server.
but the problem comes here.
when i run this script, time() function will calculate seconds from my systems current date.
now i use this seconds as parameter of Rfc2060_datetime function so it will calculate the date & time of server form that seconds.
Any help ....??
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: problem in Rfc2080 date of imap server
by jethro (Monsignor) on Sep 24, 2008 at 12:54 UTC | |
by wol (Hermit) on Sep 24, 2008 at 12:57 UTC | |
by jethro (Monsignor) on Sep 24, 2008 at 12:59 UTC | |
by wol (Hermit) on Sep 24, 2008 at 13:45 UTC | |
Re: problem in Rfc2080 date of imap server
by broomduster (Priest) on Sep 24, 2008 at 15:14 UTC | |
Re: problem in Rfc2080 date of imap server
by wol (Hermit) on Sep 24, 2008 at 12:54 UTC | |
by luckypower (Beadle) on Sep 24, 2008 at 13:09 UTC | |
by wol (Hermit) on Sep 24, 2008 at 14:04 UTC | |
by jethro (Monsignor) on Sep 24, 2008 at 14:10 UTC |
Back to
Seekers of Perl Wisdom