Jump to content


motely

Member Since 22 Aug 2008
Offline Last Active Dec 02 2010 03:34 PM
-----

Topics I've Started

Create Tab Delimited File

20 March 2009 - 05:34 PM

Hi,

I am outputting data to a text file from PROIV. The file is supposed to be tad delimited. How do I include a tab after each field in my PROIV Code?

Thanks,

CTIME and CDATE Help

22 August 2008 - 12:55 PM

I am new to PRO IV and need some help. I am trying to take a date and time and add 5 minutes to it and then compare it to the current date and time. It works except between 23:55 and 00:00.

Here is my code:

$CURDATETIME = CDATE(@DATE,'MMDDYYYY') + @TIME
IF $EDION = 'Y'
$ONTIME = $ONDATETIME(9,14)
#ONTIME = CTIME($ONTIME) + CTIME('000500')
$ONTIME = CTIME(#ONTIME)
$$ONDATETIME = $ONDATETIME(1,8) + $ONTIME
IF $CURDATETIME > $$ONDATETIME
etc....
Any suggestions on how I can use the date and time together to account for the date change would be greatly appreciated!

Thanks in advance,
David