# Date Formatting

**URL:** <https://forum.kirupa.com/t/date-formatting/177142>\
**Category:** programming\
**Created:** [January 30, 2006, 4:52pm UTC](https://forum.kirupa.com/t/date-formatting/177142 "2006-01-30T16:52:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek1](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@abhishek1](https://forum.kirupa.com/u/abhishek1)\
**Post date:** [January 30, 2006, 4:52pm UTC](https://forum.kirupa.com/t/date-formatting/177142/1 "2006-01-30T16:52:01Z")

</div>

hi,  
following code gives me date in seconds passed since 1971.

**$nextmonth = mktime(0, 0, 0, date(“m”)+1, date(“d”),date(“Y”));**  
ex- $nextmonth=110098746

can ne1 tell me hw to convert it into international format.  
example—2006/01/30

**(110098746 to 2006/01/30)**

help appreciated…

thanx in advance…
