HK Components

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

HK_preferences

PREF_Put_date

Stores a date value in a preference.
All options are the same as in PREF_put, only the data type of the value passed is blob instead of text.
All other options for PREF_put apply as well.
Internally the date is stored as text. If the HK_timestamp component is available, the date will be stored as timestamp.

Call

PREF_Put_date(prefcode;datevalue{;userspecific{;valuetype}})

Parameters

$1 -> text the code for the preference
$2 -> date the value to stored as the preference
$3 -> boolean should the preference be stored as user specific, only needed in setup sequence
$4 -> text the value type of the preference and additional parameters

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
========================