Combining strings?
| From: | Daniel Alsén | Date: | Wed, 19 Sep 2001 11:54:36 +0000 |
| Subject: | Combining strings? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67823@lists.php.net to get a copy of this message | ||
Hi,
i was trying to figure this out myself. But since the php-manual is down...
I want to create a string with todays date and month in the format day/month
(19/9).
If i do:
$date_time_array = getdate (time());
$date = $date_time_array[ "mday"];
$month = $date_time_array[ "mon"];
I get the day and month in numbers. But how do i join $date and $month and
put a / in between them in a new string?
Regards
# Daniel Alsén | www.mindbash.com #
# d@mindbash.com | +46 704 86 14 92 #
# ICQ: 63006462 | #