PHP jdtounix

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

PHP : jdtounix() function

Description

The jdtounix() function is used to convert a Julian day count to a UNIX timestamp.

Version

(PHP 4 and above)

Syntax

jdtounix(julian_day_count)

Parameter

Name

Description

Required /
Optional

Type

julian_day_count

A Julian day number between 2440588 and 2465342.

Required

Date

Return value

The unix timestamp.

Value Type : Integer.

Example :

  1. <?php  

  2. $julian_day_count = jdtounix(2441201);  

  3. echo($julian_day_count);  

  4. ?>  

Output :

52963200