}
/**
- * Create a Jalali timestamp from a Gregorian timestamp
+ * Create a Unix timestamp for a Jalali date
*
* @author Omid Mottaghi
* @access public
* @param int is daylight savings time set?
* @return int returned timestamp
*/
-function jalali_mktime($hour=0, $min=0, $sec=0, $mon=1, $day=1, $year=1970, $is_dst=-1){
+function jalali_mktime($hour=0, $min=0, $sec=0, $mon=1, $day=1, $year=1349, $is_dst=-1){
list($year, $mon, $day)=j2g($year, $mon, $day);
return mktime($hour, $min, $sec, $mon, $day, $year, $is_dst);
}