Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

PHP::DateTime
Clone of PHP's date and time functions.

PHP::DateTime - Clone of PHP's date and time functions.


NAME

PHP::DateTime - Clone of PHP's date and time functions.


SYNOPSIS


  use PHP::DateTime;

  

  if(checkdate(12,1,1997)){ ... } # Yep

  if(checkdate(13,1,1997)){ ... } # Nope

  

  my $now = time;

  print date('D M d, Y g:i a',$now);

  

  my $d = getdate($now);

  print $d->[8]; # Print the name of the day. (ex: Monday)

  

  my $g = gettimeofday();

  print $d->{usec}; # Print the number of miliseconds since epoch.

  

  my $then = mktime(11,23,45,28,11,2004,-1);

  print date('D M d, Y g:i a',$then); 

  # prints: Sun Nov 28, 2004 11:23 am


DESCRIPTION

Coming soon.


METHODS

All these are exported in to your namespace.

CHECKDATE

http://www.php.net/manual/en/function.checkdate.php

DATE

http://www.php.net/manual/en/function.date.php

GETDATE

http://www.php.net/manual/en/function.getdate.php

GETTIMEOFDAY

http://www.php.net/manual/en/function.gettimeofday.php

MKTIME

http://www.php.net/manual/en/function.mktime.php


TODO

Tons.


BUGS

Barely tested.


AUTHOR

Copyright (C) 2003 Aran Clary Deltac (CPAN: BLUEFEET)

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Address bug reports and comments to: <aran@bluefeet.net>. When sending bug reports, please provide the version of Geo::Distance, the version of Perl, and the name and version of the operating system you are using. Patches are welcome if you are brave!


SEE ALSO

http://www.php.net/manual/en/ref.datetime.php

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy