Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Protection Plus for Clipper - <u>pp_expdate()</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PP_EXPDATE()
Return the expiration date
------------------------------------------------------------------------------

Syntax
  PP_EXPDATE()  .  dExpireDate

Returns
  <dExpireDate> is the expiration date of the product or date()-1
  if the control file is corrupted.

Description
  Determines the date of expiration stored in the control file.  If
  pp_getvar() is used, propl10 contains the same information - use
  it instead.

Example

Note that in the following example, propl10 and PP_EXPDATE() are
totally interchangeable.  It is quicker, however to use propl10 since
the disk access will be limited to once and not twice.  If the expire
date is empty, we do not print anything on the screen.

@  7,61 say if(!empty(propl10),"Expires: "+dtoc(propl10),"")

See Also: PP_NEXPTYPE() PP_EXPIRED() PP_UNLOCK() PP_EXPTYPE() PP_GETVAR()

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