Indices of Astronomical Formats

Navigation:  Tokens > Astronomical Tokens >

Indices of Astronomical Formats

Previous pageReturn to chapter overviewNext page

To format the result of planetary tokens and miscellaneous astronomical tokens, you can append the suffix :fSomeFormat to the token.

 

The various ways of specifying the format of a time, are described here.

 

The formatting of angles is done using Q++ specific settings (note that some astronomical data, such as right ascension and sidereal time, are expressed in hours-minutes-seconds, but these are actually angles, not times) :

 

H

Displays the angle hour without a leading zero (0-23)

HH

Displays the angle hour with a leading zero (00-23)

hH

Displays the angle hour with a leading space ( 0-23)

D

Displays the angle degree without a leading zero (-180 to +180)

DD

Displays the angle degree with a leading zero

dD

Displays the angle degree with a leading space

N

Displays the minutes without a leading zero (0-59).

NN

Displays the minutes with a leading zero (00-59).

nN

Displays the minutes with a leading space ( 0-59).

S

Displays the seconds without a leading zero (0-59).

SS

Displays the seconds without a leading zero (0-59).

sS

Displays the seconds with a leading space ( 0-59).

+

Indicates that positive values should be preceded by a + sign..

 

 

Note how the character used to format minutes is the letter 'n', and not the letter 'm' which is used elsewhere to format months.


Topic 181170 updated on 27-Sep-2016.
Topic URL: http://www.qppstudio.net/webhelp/index.html?indices-of-astronomical-format.htm