AS/400 Date Format Questions and Answers

Recent IT Questions

1 - 7 of 7
<<PREVIOUS 1 NEXT>>

Data selection criteria to pull last months information

I run a series of queries at the beginning of each month to pull transactions from the previous month.  Currently I am setting the date range for the julian dates.  I would like to automate this series of queries and need a way to automate the data selection criteria so it will automatically pull...

View Answer   |  Nov 5 2009  4:09 PM GMT
Date Picker, AS/400 date format
asked by Clhalfa

  30 pts.

converting date + time into timestamp

Hi I'm trying to convert date+time into timestamp n get thousands of error... my code is as below c     FMTIMCHAR     ifeq      '*ALL' Eval      FMTIMCHAR = '0000' C                   Eval      T1 = %subst(fmTIMCHAR:1:2) + ':' + ...

asked by Nutangujar

  745 pts.

AS/400 date format

How do format a date field to MM/DD/YYYY?

View Answer   |  Apr 15 2009  1:57 PM GMT
AS/400 queries, AS/400 Fields, AS/400 date format
asked by ZSID

  35 pts.

AS/400 Query - Current date -1

Is there a quick and easy way to calculate yesterdays date by using "Define result fields"

View Answer   |  Apr 1 2009  8:35 AM GMT
AS/400 Query, AS/400 queries, AS/400 date format
asked by Soren

  5 pts.

Converting Julian date to Gregorian in WrkQry

I work on an Iseries AS/400 and when I do a wrkqry for reports I need to convert the date ccyyyddd(julian) to mmddyyy(gregorian)

View Answer   |  Sep 29 2008  6:29 PM GMT
AS/400 date format, Date format, WRKQRY
asked by Lady55

  15 pts.

Last Day of Month

Is there a routine to arrive at the exact last day of the month? *Month doesn't do it.

View Answer   |  Jul 1 2008  5:02 PM GMT
CLLE, AS/400 date format
asked by Djomay

  5 pts.

Date calculation question

I have a date manipulation question on the AS/400. I need to be able to take whatever date the system date is and calculate the next Friday date and output that to the LDA in the format MMDDYY. It needs to have the leading zero for the single digit months AND it is just a 2-digit year. I swear I...

View Answer   |  May 27 2008  5:59 PM GMT
AS/400 date format, Date calculation, Date format
asked by TomN

  50 pts.

1 - 7 of 7
<<PREVIOUS 1 NEXT>>