Print Page as PDF
DSICDT ICR (5370)

DSICDT    ICR (5370)

Name Value
NUMBER 5370
IA # 5370
DATE CREATED 2009/02/19
CUSTODIAL PACKAGE VA CERTIFIED COMPONENTS - DSSI
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE DSICDT
NAME DSICDT
GENERAL DESCRIPTION
This routine converts dates and times from one format
into another. It can be called via a function call, or the RPC: DSIC DATE
CONVERT.
STATUS Active
DURATION Till Otherwise Agreed
ID DSICDT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CNVT
Entry to convert date/times from one format to
another.
VARIABLES TYPE VARIABLES DESCRIPTION
INVAL Input
This is the input date.time value to be converted.
If this parameters contains any alpha characters, this RPC will always assume
that this input value is in external form (i.e., human readable format).
INTYPE Input
Optional - only if INVAL contains an alpha character.
Else, this is required. Usually it is a single character.  If two characters,
then it must be one of the first 6 listed below plus "I".  If INVAL="I" then
assume INVAL in external format.

"D" - INVAL is in Delphi internal format
"F" - INVAL is in internal Fileman format
"E" - INVAL is in external fmt (human read)
"M" - INVAL is in internal M format ($H)
"H" - INVAL is in HL7 format
"G" - INVAL is in UCT format
"I" - INVAL is in Internationalized format,i.e.,
the day number precedes the month number
OUTYPE Input
Optional - default value is internal Fileman format
"F".  This is a string of characters designating output format(s)

If OUTYPE contains
"F" - return internal Fileman format
"D" - return internal Delphi format
"E" - return external format
"M" - return internal M format ($H)
"A" - return all formats
"H" - return HL7 format
"G" - return UCT format
OUTFMT Input
Optional - this param controls the format of the
returned value for external date value only.  OUTFMT can contain only a single
digit plus optional alpha characters.

If OUTFMT =
"" then return mmm dd, yyyy@hh:mm:ss (default)
1  mmm dd, yyyy@hh:mm:ss - default
2  mm/dd/yy@hh:mm:ss [no leading zeros]
3  dd/mm/yy@hh:mm:ss [no leading zeros]
4  yy/mm/dd@hh:mm:ss [no leading zeros]
5  mm/dd/yyyy@hh:mm:ss [no leading zeros]
6  dd/mm/yyyy@hh:mm:ss [no leading zeros]
7  yyyy/mm/dd@hh:mm:ss [no leading zeros]
D  return date only
F  output with leading blanks
S  force seconds in outputs
Z  pad months and days with leading zeros
P  output time in ' hh:mm:ss am/pm'
TIMEFMT Input
Optional - controls what portion of the time part of
the date will be returned.  Default value is M

If TIMEFMT = H, then return only hours
= M, then return only hour:minute
= S, then return seconds
FUN Input
Boolean - if allowed & equal to 1 then TAG was called
as an extrinsic function, else it was called a DO (w/params).
DSIC Output
Passed by reference.  Return value for output date
format.
SUBSCRIBING PACKAGE INSURANCE CAPTURE BUFFER
DATE ACTIVATED 2009/06/11