beautypg.com

HP Neoview Release 2.4 Software User Manual

Page 31

background image

Date/Time data types

Use a combination of the following patterns to a specify date or time format:

— %b

The abbreviation for the month name in the current locale (for example, “Feb”, in
the POSIX locale).

— %C

The first two digits of the year (19 or 20).

— %d

The two-digit day of the month as a number (01 to 31).

— %e

The day of the month in a two-digit, right-justified, blank-filled field (1 to 31).

— %H

The hour in the 24-hour clock representation (00 to 23).

— %I

The hour in the 12-hour clock representation (01 to 12).

— %M

The minute (00 to 59).

— %m

The month number (01 to 12).

— %p

The equivalent of AM or PM in the current locale.

— %s

The second (00 to 59).

— %y

The two-digit year (offset from %C).

— %S

Fractional seconds.

Transporter returns an error if any of the following are true:
— A given specifier appears more than once in formatstring.
— formatstring contains both %s and %S.
— formatstring contains both %H and %p.

Field delimiters are optional. The supported field delimiters are:
— hyphen (-)
— colon (:)
— period (.)
— underscore (_)
— percent (%)
— space
— tab
— comma (,)
— semicolon (;)
— slash (/)

Control File Organization and Syntax

31