<?php $dt = date_create("2018-2-19"); $icuFormat = "yyyy:MM:dd"; $fmt = datefmt_create( "fa_IR@calendar=persian" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Europe/Berlin',IntlDateFormatter::TRADITIONAL ,"yyyy:MM:dd"); echo datefmt_format( $fmt ,$dt);
You have javascript disabled. You will not be able to edit any code.