Thread: HTML codes for todays date??
Results 1 to 7 of 7
03-25-2002, 10:16 AM #1
HTML codes for todays date??
I am creating a newsletter in HTML..
One of the features I wanted in the newsletter was to display the actual day when person x subscribed my new newsletter.. well get the date to be dynamic..
Just wanted to check out if there is a way to write a HTML code that will do this for me..
I know that I can use JAVA and DHTML.. but if it's possible in HTML then I will use HTML..
Well ... let me know..
03-25-2002, 12:53 PM #2
Hiya SI, how are ya?
Two (easy) ways without getting involved in php etc -
Does the JS do the job?If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
03-25-2002, 01:41 PM #3
03-25-2002, 02:18 PM #4
I tried cut and paste into my email with these suggestions .. but can't get the date to show up..
That's why I wondered if there was a way to make a dynamic date with only HTML..
I'll keep looking around to see if I can find a way to work around my little problem.. I can of course write in the date manually.. but hey u have to give yourself some problems that activate your brain.. lol..
Greetings .. ShareInfo
03-25-2002, 02:27 PM #5
03-25-2002, 02:47 PM #6
lets see... if you can't get JS to work the only other way I know is PHP:
$thedate = date("F d, Y");
/*(March 25, 2002)*/
mail("firstname.lastname@example.org", "Your Subject", "
Message: $message\n", "From: $Email\nReply-To: $Email\n");
echo "The mail was sent.";
03-25-2002, 03:14 PM #7
..Thanks to all of you..
I was aware of the problems you mention benzden..
So I tried out with creating just a test web site ... and send test emails.. the test web site turned out as I wanted it.. but seems like when I set it up in the autoresponder... it will not accept it so my test mails was blank.. so until I find a solution I will just work around it..
It was ok to tried it out.. and it will just be in my welcome newsletter were it will be a 'problem'...
Have a great day..