6 Topics

Member Avatar for
Member Avatar for ehpratah

Hey Everyone Im having a lil trouble rightnow making this script work. What im trying to do is make a script that will change the bgcolor color to red if the Serving time is less than or equal to 1 hr left which is working now but in the long …

Member Avatar for ehpratah
0
184
Member Avatar for Stickie

What am I doing wrong? I've stored the date in american format (yyyy-mm-dd) and want to output it in european format (dd-mm-yyy). This is my code. [code=php] //ZENDING $result = mysql_query("select ID, Bestemming, Afkorting, Datum FROM Zendingen WHERE ID ='" . $znding . "' ORDER BY ID, Bestemming ASC") OR …

Member Avatar for Stickie
0
146
Member Avatar for geaclaesson

Hi guys, Used this forum a bit today to find answers for a bit of scripting that I'm attempting. It's been 5-6 years since I last did anything like this, so bear with me. My question is; why does this generate results from Dec 12 2011 and not from Dec …

Member Avatar for geaclaesson
0
564
Member Avatar for bala2111

I want to display last 6 months from the current month. For example This month is september, I want to display April, May, June, July, August, September Can anyone help me with this ?

Member Avatar for diafol
0
3K
Member Avatar for chifliiiii

Today 05/18/2011 If i do [CODE]echo date("H:i m/d/Y", strtotime("tomorrow"));[/CODE] i get 00:00 05/19/2011 as it should be but if i use the same function in setcookie like: [CODE]setcookie("wls_yesterday_review", 'completed', strtotime('tomorrow'),'/','myhost.com');[/CODE] My cookie will expire on 05/18/2011 at 09:00PM Im not sure what im doing wrong but i tested different ways …

Member Avatar for chifliiiii
0
282
Member Avatar for snehil_khanor

hi, php have thi svery nice function strtoime() int strtotime ( string $time [, int $now ] ) The function expects to be given a string containing an English date format and will try to parse that format into a Unix timestamp (the number of seconds since January 1 1970 …

Member Avatar for Sergey.Smirnov
0
749

The End.