Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
by -[Bl@de Runner]- » Tue Aug 06, 2002 9:50 am
hi guys,
To get the current date, is this not just the function date() ?
problaby not

-
-[Bl@de Runner]-
- New php-forum User

-
- Posts: 9
- Joined: Sun Jun 30, 2002 6:45 am
by DoppyNL » Tue Aug 06, 2002 9:52 am
-
DoppyNL
-
by WiZARD » Wed Aug 07, 2002 1:37 am
-[Bl@de Runner]- wrote:hi guys,
To get the current date, is this not just the function date() ?
problaby not

try this:
- Code: Select all
$today = getdate();
echo ($today);
-

WiZARD
- Moderator

-
- Posts: 1257
- Joined: Thu Jun 20, 2002 10:14 pm
- Location: Ukraine, Crimea, Simferopol
-
by Jay » Wed Aug 07, 2002 10:57 am
WiZARD wrote:try this:
- Code: Select all
$today = getdate();
echo ($today);
That returns the date as an array, it can't be displayed directly.
Personally I find date() to be much more flexible and user friendly

-
Jay
-
by WiZARD » Thu Aug 08, 2002 12:57 am
Jay wrote:WiZARD wrote:try this:
- Code: Select all
$today = getdate();
echo ($today);
That returns the date as an array, it can't be displayed directly.
Personally I find date() to be much more flexible and user friendly

yes sure i'm not check, sorry

-

WiZARD
- Moderator

-
- Posts: 1257
- Joined: Thu Jun 20, 2002 10:14 pm
- Location: Ukraine, Crimea, Simferopol
-
Return to PHP coding => General
Who is online
Users browsing this forum: No registered users and 3 guests