dolibarr  7.0.0-beta
Functions
datepicker.php File Reference

File to manage popup date selector. More...

Go to the source code of this file.

Functions

 xyzToUnixTimestamp ($mysqldate)
 Convert date to timestamp. More...
 
 displayBox ($selectedDate, $month, $year)
 Show box. More...
 

Detailed Description

File to manage popup date selector.

Definition in file datepicker.php.

Function Documentation

displayBox (   $selectedDate,
  $month,
  $year 
)

Show box.

Parameters
string$selectedDateDate YYYMMDD
int$monthMonth
int$yearYear
Returns
void

Definition at line 146 of file datepicker.php.

References dol_get_first_day_week(), dol_getdate(), dol_mktime(), dol_now(), dol_print_date(), type, and xyzToUnixTimestamp().

xyzToUnixTimestamp (   $mysqldate)

Convert date to timestamp.

Parameters
string$mysqldateDate YYYMMDD
Returns
integer Timestamp

Definition at line 129 of file datepicker.php.

References dol_mktime().

Referenced by displayBox().