RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

xRPG Core Library Procedures - RNBDATES: dateAsInteger()


Receives a date and returns an Integer representation.

Usage:

dateAsInteger( {dateIn} : {length} : {format} );

Name Type Options Opt/Req Description
dateIn D Const Opt The date to convert. If no date is sent then %date() is used.
length 1,0 Const Opt 8 returns an 8 digit date; 6 returns a 6 digit date. If length is not sent or other than 8 or 6, then 8 digit is the default.
format 4A Const Opt Indicates the format of the date: valid entries are: '*DMY', '*MDY', and '*YMD'. If format is not sent then *YMD is used.
Returns: 8,0 n/a n/a The integer representation of the date.

This site conforms with the following W3C specifications:

Web Essentials

Contact