HK Components

================================================================================

HK_preferences

PREF_get_date

Retrieves a date preference according to the preference code passed.
The preference is first queried as user specific, then, if not found, as general.
if the HK_timestamps component is available, this is used as well, checking if the preference was stored as timestamp.

Call

prefdate:=PREF_get_date(prefcode)

Parameters

$1 -> text preference identification code
$0 <- date the date representation of the preference

Example

if(current date > PREF_get_date("next_processrun"))
   DoProcessRun
   PREF_put_date("next_processrun";add to date(current date;0;1;0))
end if
--------------------------------------------------------------------------------

Pricing

All current components are donationware in their compiled form, please use the donate button below to give what you think it's worth via paypal.

You can buy the sourcecode to the components. AC_Basics is free, but the source for all other components is 100 U$/€ via PayPal. You will receive the password to the archive contained in the component as soon as I receive the email from paypal confirming payment. Please make sure to call the payment button from the webpage of the desired component, so I know what you want to pay for. I can send an invoice by mail if you so require, EU corporate entities may provide a VAT ID in the message of their PayPal payments so I can deduct the VAT.

Thanks a lot

========================

Current version

0.8 - 2009.02.27
========================