vlibDate

vLIB logo

6.1. vlibDate()

Called upon instantiation of the class, this loads the default language or the language specified by lang:
Function Description
 vlibDate ([string lang])

The lang parameter must be the code of one of the supported languages.
See the SUPPORTED LANGUAGES section:

Example

   $date = new vlibDate('es'); // load spanish as the default language


Note
NB: You can specifiy a language by default in your vlibIni.php file which will be used if lang is not specified.