airbus Posted August 2, 2009 Report Posted August 2, 2009 Tātad pēc <? ieliku $date = date('Y-M-D'); Un pie echo ieliku šādi echo $date; Viņš man izvelk 2009-Aug-Sun, bet man vajag 2009-08-02 lai rakstītu ar cipariem. Quote
mefisto Posted August 2, 2009 Report Posted August 2, 2009 Sāc tik lasīt http://lv.php.net/manual/en/function.date.php Tajā funkcijā formāts ir case-sensitive. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.