Jump to content
php.lv forumi

Datuma/Laika problēma


ricukins2

Recommended Posts

Sveicināti, esmu saskāries ar problemu, kuru pats nespēju salabot, lai vai mēģināju kādus 30 internetā piedāvātos variantus.

Lieta tāda, ja kods ir $date = $s_date; echo date('d/m/Y', $date) 2.png.cedadbcdf0702accbd13b2ea7fd76edc.png

ja kods ir parasts, $shout->s_date , bez pārveidojuma uz date, tad rādas  1.png.b6b1f0f2af50872f6a03af0de9039e8e.png

 

Kādam ieteikumi?

Paldies jau iepriekš.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...