Time::CTime 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::CTimUser Contributed Perl Documentalib::Time::CTime(3)

NAME
       Time::CTime -- format times ala POSIX asctime

SYNOPSIS
	       use Time::CTime
	       print ctime(time);
	       print asctime(localtime(time));
	       print strftime(template, localtime(time));

       strftime conversions

	       %%      PERCENT
	       %a      day of the week abbr
	       %A      day of the week
	       %b      month abbr
	       %B      month
	       %c      ctime format: Sat Nov 19 21:05:57 1994
	       %d      DD
	       %D      MM/DD/YY
	       %e      numeric day of the month
	       %f      floating point seconds (milliseconds): .314
	       %F      floating point seconds (microseconds): .314159
	       %h      month abbr
	       %H      hour, 24 hour clock, leading 0's)
	       %I      hour, 12 hour clock, leading 0's)
	       %j      day of the year
	       %k      hour
	       %l      hour, 12 hour clock
	       %m      month number, starting with 1
	       %M      minute, leading 0's
	       %n      NEWLINE
	       %o      ornate day of month -- "1st", "2nd", "25th", etc.
	       %p      AM or PM
	       %r      time format: 09:05:57 PM
	       %R      time format: 21:05
	       %S      seconds, leading 0's
	       %t      TAB
	       %T      time format: 21:05:57
	       %U      week number, Sunday as first day of week
	       %w      day of the week, numerically, Sunday == 0
	       %W      week number, Monday as first day of week
	       %x      date format: 11/19/94
	       %X      time format: 21:05:57
	       %y      year (2 digits)
	       %Y      year (4 digits)
	       %Z      timezone in ascii. eg: PST

DESCRIPTION
       This module provides routines to format dates.  They
       correspond to the libc routines.	 &strftime() supports a
       pretty good set of coversions -- more than most C

5/Oct/1999	       perl 5.005, patch 03			1

lib::Time::CTimUser Contributed Perl Documentalib::Time::CTime(3)

       libraries.

       strftime supports a pretty good set of conversions.

       The POSIX module has very similar functionality.	 You
       should consider using it instead if you do not have
       allergic reactions to system libraries.

GENESIS
       Written by David Muir Sharnoff <muir@idiom.com>.

       The starting point for this package was a posting by Paul
       Foley <paul@ascent.com>

5/Oct/1999	       perl 5.005, patch 03			2

[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