in reply to gmdate perl

$ perldoc -f gmdate No documentation for perl function `gmdate' found

This means you'll have to help yourself, sorry

Tutorials: How to help yourself

Replies are listed 'Best First'.
Re^2: gmdate perl
by akagrawal3 (Beadle) on Mar 04, 2012 at 10:05 UTC
    Well I think that it sets the time to GMT.

      Well I think that it sets the time to GMT.

      Lets see, searching Class::Date for "gmdate"

      use Class::Date qw(:errors date localdate gmdate now -DateParse -EnvC);

      $date = gmdate "2001-11-12 17:13";

      You can create a date object by the "date", "localdate" or "gmdate" function, or by calling the Class::Date constructor.

      "gmdate $x" is equivalent to "date $x, $Class::Date::GMT_TIMEZONE".

      It could be

        Wow! I am gaining so much of knowledge. Thanks :)
Re^2: gmdate perl
by akagrawal3 (Beadle) on Mar 04, 2012 at 09:48 UTC
    I have used the following in the code. I guess this might help.  use Class::Date qw/gmdate now/;
        It was not of much help. Thank you anyways for your effort:)