Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> qjbdateget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 QJbDateGet()
------------------------------------------------------------------------------
 Purpose:
 Get the date on which a print job was placed in the queue.

 Syntax:
 lpszJobDate = QJbDateGet( dwQueueID, iJobNum )

 Parameters:
 dwQueueID The print queue ID number.
 iJobNum   The print job number.

 Returns:
 A character string of length 8 (see Notes).

 Description:
 QJbDateGet() returns the date that print job number iJobNum was placed
 in the print queue specified by ID number dwQueueID.

 Returns an empty date if an error occurs.

 Example:
 // To display the date print job number 442 was placed in
 // print queue PRINTQ_1:
 dwCurrQ = QueIDGet( "PRINTQ_1" )
 if ( dwCurrQ != NOVERRLONG )
    lpszCurrDate = QJbDateGet( dwCurrQ, 442 )
    if ( !empty( lpszCurrDate ) )
       ? "Job 442 was placed in PRINTQ_1 on", lpszCurrDate
    endif
 endif

 Notes:
 The print queue ID number is obtained using the QueIDGet() function
 and print job numbers are obtained using the QueQJbLst() function.

 The format of the date values is the ANSI style "yyyymmdd" except with
 CA-Clipper and CA-Visual Objects where the date values are of type DATE

See Also: QJbTmeGet() QueIDGet() QueQJbLst()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson