|
Thanks for everyone's help, this will make my work much easier now. Thanks Troy Dills Julius Blum Inc. "Ray, Adam" <ARay@WIPFLI.com> To: "'rpg400-l@midrange.com'" <rpg400-l@midrange.com> Sent by: cc: rpg400-l-admin@mi Subject: RE: Date Roll Over drange.com 11/07/2001 03:26 PM Please respond to rpg400-l I feel the best way to answer a question like this is to run a short test. I coded the following: d timestamp S Z INZ(Z'2001-12-31-23.30.00.000000' c adddur 1:*hours timestamp After running this through debug, the value of timestamp was '2002-01-01-00.30.00.000000'. This proves that adding enough hours to a defined timestamp field to go past midnight will automatically roll the date to the next day. Adam Ray Programmer/Analyst Wipfli Ullrich Bertelson LLP www.wipfli.com <http://www.wipfli.com> I have a question that can hopefully be answered easily. If I add enough hours in a defined TimeStamp field to go past midnight, will it automatically roll the date to the next day? __________________________________________________________________ Please look below this disclaimer for attachments. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This communication may contain material protected by attorney-client privilege. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify the Information Systems Manager by telephone at (715)845-3111 postmaster@wipfli.com http://www.wipfli.com ____________________________________________________________________ This message has been generated by MIMEsweeper. This message and attachments have been swept for all known and recorded computer viruses. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.