Home > Ask the AS/400 Experts > Questions & Answers > Using RPG/400 to convert a date in MMDDYY format to YYMMDD format
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Using RPG/400 to convert a date in MMDDYY format to YYMMDD format

Laird Scranton EXPERT RESPONSE FROM: Laird Scranton

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 06 February 2001

Is there an easy way in RPG/400 to convert a date in MMDDYY format to a date in YYMMDD format?


>

Using a 6-digit date field, multiply the date by 10000.01. To convert back to MMDDYY format, multiply by 100.0001.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts