In Persian, the format characters for PHP date formatting are as follows:

  • "f" represents the full month name in Persian. For example, "فروردین" for January.
  • "M" represents the abbreviated month name in Persian. For example, "فرو" for January.
  • "d" represents the day of the month with leading zeros if necessary. For example, "01" for the first day of the month.

Using these format characters, you can construct Persian date formats in PHP. For example, the format "f d, Y" will output the date like "فروردین 01, 2022"

i want php date format in persian descriptioni mean f M d what is them

原文地址: http://www.cveoy.top/t/topic/iVOD 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录