I want to ask how to put the time stamp date in the sales letter, for example like : Date: Tuesday, December 16, 2008 <------- this one To : All Internet Marketers From : bla bla bla Did anyone know the script for this one ? thanks
is this on a webpage? In asp.net you just do: put a lableon the page <asp:Label ID="LblTimedate" runat="server" Text="Label"></asp:Label>< and in the code behind you do: Me.LblTimedate.Text = Format(Today(), "ddd, dd MMMM yyyy") How this is what you are looking for.
this bit of javascript works nicely: <script language="JavaScript"> DaysofWeek = new Array() DaysofWeek[0]="Sunday" DaysofWeek[1]="Monday" DaysofWeek[2]="Tuesday" DaysofWeek[3]="Wednesday" DaysofWeek[4]="Thursday" DaysofWeek[5]="Friday" DaysofWeek[6]="Saturday" Months = new Array() Months[0]="January" Months[1]="February" Months[2]="March" Months[3]="April" Months[4]="May" Months[5]="June" Months[6]="July" Months[7]="August" Months[8]="September" Months[9]="October" Months[10]="November" Months[11]="December" RightNow = new Date() var day = DaysofWeek[RightNow.getDay()] var date = RightNow.getDate() var Month = Months[RightNow.getMonth()] var Year = RightNow.getFullYear() if (date == 1 || date == 21 || date == 31) {ender = "<SUP>st</SUP>"} else if (date == 2 || date == 22) {ender = "<SUP>nd</SUP>"} else if (date == 3 || date == 23) {ender = "<SUP>rd</SUP>"} else {ender = "<SUP>th</SUP>"} document.write(" " +day+ " " +Month+ " " +date+ ender+ ", " +Year+ " ") </script> HTML: