Change in the format of the non-system time date.



  • Hello. When evaporated, xml receives the following data:

    На рынке жилья затишье
    

    Источник: Экономика и жизнь (московский выпуск)

    Дата опубликования: 25.5.2002

    Вид материала: Статья

    We need to make the month ' s number two-digit (25.05.2002).
    I looked in the interior for a long time, but I only found a change in the format of the system date. And I need to change the current (received from xml) date, or rather change only the format of the month.



  • date("d.m.Y",strtotime("25.5.2002"));
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2