HPlogo MPE/iX Intrinsics Reference Manual > Chapter 6 Command Definitions (FLUSHLOG-GETUSERMODE)

FMTCALENDAR

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

NM and CM callable.

Passes any calendar date, in the same format as the CALENDAR intrinsic, date type code 14 listed in the Supported Date Formats and returns it in the following format:
   FRI, JAN 27, 1989

Syntax


               U16V  CA
  FMTCALENDAR (date, formatdate);

Parameters


date

16-bit unsigned integer by value (required)
date type code 14 Supported Date Formats

Passes the calendar date, in the same format as the CALENDAR intrinsic:

BitsValue/Meaning
7:9Day of year
0:7Year of century

formatdate

character array (required)

Returns the formatted calendar date in a 17-character array. If the day of the month is less than 10, a blank precedes it, for example,

   FRI, JAN  6, 1989

Operation Notes


If invalid input values are supplied, the output values returned are unpredictable; an error status is not returned.

Related Information


Intrinsics ALMANAC, CALENDAR, CLOCK, DATELINE, FMTCLOCK, FMTDATE HPCALENDAR, HPFMTCALENDAR
Manuals




FLUSHLOG


FMTCLOCK