evilight
10 Jan 2012, 12:45 AM
Hi all,
it's me again. :-?
in php or shell or unix c api, I can use code like
$sdate = date("Y-m-d",strtotime("today -30days"));
just tell them I want date "today -30days" ago to get the right answer.
how can I get this done in extJs4?
I only see following parameter to new a Date. and
new Date("December 19, 1989 03:24:00");any existing api to do above work or I have to do it all by myself?
Thank you in advance
it's me again. :-?
in php or shell or unix c api, I can use code like
$sdate = date("Y-m-d",strtotime("today -30days"));
just tell them I want date "today -30days" ago to get the right answer.
how can I get this done in extJs4?
I only see following parameter to new a Date. and
new Date("December 19, 1989 03:24:00");any existing api to do above work or I have to do it all by myself?
Thank you in advance