an include that can help you to convert gregorian to jalali or jalali to gregorian.
* Jalali(g_y, g_m, g_d, &j_y, &j_m, &j_d)
* Gregorian(j_y, j_m, j_d, &g_y, &g_m, &g_d)
* JDate(year, month, day)
* JDatestamp()
* TimestampToJDate(Timestamp, &year, &month, &day, &hour, &minute, &second, HourGMT = 3, MinuteGMT = 30)
* JDateToTimestamp(year, month, day)
* ReturnJDate(timestamp)