Please enable JavaScript to view this site.

 

Navigation: Messages > Run-Time Messages > Planetary Tokens

Invalid display time format

Scroll Prev Up Next More

This run-time message indicates that the format string used in an astronomical token or a planetary token, to specify how the resulting time should be displayed, is incorrectly formed.

 

This message, which refers to the format specified for the token's resulting time to be displayed, should not be confused with message 187135 which refers to an error in the time format at which a planetary or astronomical token should be calculated.

 

This message will usually be supplemented with an explanation, such as the ones below:

 

Improperly placed decimal separator

Improperly placed number of decimals

No decimal separator before number of decimals

+ sign only allowed at the beginning of the formatting string

Invalid formatting character

Multiple decimal separators in format string

Unterminated double quotes string

Format string refers to both hours and degrees

Missing format for minutes

Cannot have minutes or seconds formatting after decimal hours

Cannot have minutes or seconds formatting after decimal degrees

Cannot have seconds formatting after decimal minutes

Unexpected formatting combination

 

Please refer to the topic on the formatting of astronomical and planetary tokens, or contact technical support for assistance.

 

Another option is not to use any formatting string, in which case the default internal format string will be used, and then you can use a sara to tweak the result.

 


Topic 187105, last updated on 22-Feb-2023