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: setTSField()


Set a sub-field in a timestamp variable.

Usage:

setTSField( dateIn : type : value );

Name Type Options Opt/Req Description
TSin Z Const Req The timestamp to change.
type 2A Const Req 'Y' to change the year; 'M' to change the month; 'D' to change the day; 'H' to change the hour; 'MN' to change the minute; 'S' to change the second; 'MS' to change the millisecond.
value 6,0 Const Req The value to change the timestamp subfield to.
Returns: Z n/a n/a The changed timestamp.

This site conforms with the following W3C specifications:

Web Essentials

Contact