Time::JulianDay man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



lib::Time::JuliUseryContributed Perl Documlib::Time::JulianDay(3)

NAME
       Time::JulianDay -- Julian calendar manipulations

SYNOPSIS
	       use Time::JulianDay

	       $jd = julian_day($year, $month_1_to_12, $day)
	       $jd = local_julian_day($seconds_since_1970);
	       $jd = gm_julian_day($seconds_since_1970);
	       ($year, $month_1_to_12, $day) = inverse_julian_day($jd)
	       $dow = day_of_week($jd)

	       print (Sun,Mon,Tue,Wed,Thu,Fri,Sat)[$dow];

	       $seconds_since_jan_1_1970 = jd_secondslocal($jd, $hour, $min, $sec)
	       $seconds_since_jan_1_1970 = jd_secondsgm($jd, $hour, $min, $sec)
	       $seconds_since_jan_1_1970 = jd_timelocal($sec,$min,$hours,$mday,$month_0_to_11,$year)
	       $seconds_since_jan_1_1970 = jd_timegm($sec,$min,$hours,$mday,$month_0_to_11,$year)

DESCRIPTION
       JulianDay is a package that manipulates dates as number of
       days since some time a long time ago.  It's easy to add
       and subtract time using julian days...

       The day_of_week returned by day_of_week() is 0 for Sunday,
       and 6 for Saturday and everything else is in between.

GENESIS
       Written by David Muir Sharnoff <muir@idiom.com> with help
       from previous work by Kurt Jaeger aka pi
       <zrzr0111@helpdesk.rus.uni-stuttgart.de>
	    based on postings from: Ian Miller
       <ian_m@cix.compulink.co.uk>; Gary Puckering
       <garyp%cognos.uucp@uunet.uu.net>	     based on Collected
       Algorithms of the ACM ?; and the unknown-to-me author of
       Time::Local.

5/Oct/1999	       perl 5.005, patch 03			1

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net