Copyright 1999-2009 GrasshopperLLC    

 
<< InsertTextJ Commands >>
Top: Documentation LibraryUp: I Commands

InsertTime Text Command

INSERTTIME Text Commands

Inserts a time variable at the insertion point.

inserttime

time/k The date to insert. All options except current and created are updated when applicable.

Options: CURRENT Current date. Default.
CREATED Creation date.
MODIFIED Modification date.
SAVED Saved date.
LOADED Loaded date.
PRINTED Printed date.
DOCUMENTREVISION Document log entry date.
CHAPTERREVISION Chapter log entry date.
PAGEREVISION Page log entry date.
ARTICLEREVISION Article log entry date.

FORMAT/s The time format. See below.

Default='h:m PM'.

LANGUAGE/k The language of the time variable.

Options: DEFAULT Document/chapter default.
AMERICAN American English.
ENGLISH International English.
FRANCAIS French.
DEUTSCH German.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

Notes:

The FORMAT string contains the order, length and separators for the time.

: Separate with a colon.

Separate with a space.

\ One character following a backslash or text inside double " " quotation marks will appear as is.

The capitalization of the format string determines the capitalization of the time, if applicable.

h Hour, no leading zero. 5
hh Hour, leading zero. 05
m Minutes, no leading zero. 8
mm Minutes, leading zero. 08
s Seconds, no leading zero. 3
s Seconds, leading zero. 03
ampm Shows am or pm as appropriate. 5 am
pm Shows only pm when time>12:00. 7 pm
No indicator specifies 24 hour time. 19

Format Examples:
h:m 5:15, 19:3
h:m ampm 5:15 am, 7:30 p
h:m PM 5:15, 7:30 P
hh:mm:ss 05:15:21, 19:30:4
hh\hmm 5h15

Examples:

inserttime current format 'hh:mm:ss'

inserttime printed

 

InsertTime  Command Definition  url:PGScmd/inserttime
  created:2006-03-30 14:58:59   last updated:2006-03-30 14:58:59
  Copyright 2001-2009 GrasshopperLLC

User Contributed Comments For InsertTimesign in to add a comment
Dan Kilroy wrote...2006-05-04 16:56:27

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

InsertTime ([CURRENT|CREATED|MODIFIED|SAVED|LOADED|PRINTED| DOCUMENTREVISION|CHAPTERREVISION|PAGEREVISION|ARTICLEREVISION|CUSTOM hour minute second milli] [FORMAT format] [LANGUAGE <DEFAULT | language>] [DOCUMENT document | WINDOW document~window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For InsertTimesign in to add a comment

<< InsertTextJ Commands >>
Top: Documentation LibraryUp: I Commands

 

ACCOUNT

Username:
Password:
    Lost your password?
    Register

NAVIGATION

    Front Page
    Purchase
    In My Country
    Downloads & Demos
  About PageStream
    Overview
    History
    Features
    Comparison
    Reviews
    New in 5.0
    New in 5.0 Pro
  Documentation & Help
    Table of Contents
    Search
    Recent Changes
    Mailing Lists
    Contact Us
    Bug Tracking

Recent Files Uploaded
Recent Downloads Most Popular
Amiga-OS3-68k
 PageStream 5.0.5.7 
 PageStream 5.0.5.6 
 PageStream 5.0.5.5 
 PageStream 5.0.5.4 
Linux-i64
 PageStream 5.0.5.7 
Linux-x86
 PageStream 5.0.5.7 
Macintosh-OSX
 PageStream 5.0.5.7 
Windows
 PageStream 5.0.5.7 
Grasshopper Publishing PageStream SoftLogik DTP DeskTop PublishingIn the high plains of South Dakota, USA
Copyright 1999-2009 Grasshopper LLC
sales@pagestream.org

Sign In | Register | FrontPage | Purchase | Downloads | Search