PC Review


Reply
Thread Tools Rate Thread

change a month name automatically

 
 
=?Utf-8?B?VmFsZXJpYQ==?=
Guest
Posts: n/a
 
      17th Jan 2005
Dear experts,
I would like to change a month name on my webpage automatically. If
possible it should change on the 15th of the current month to display the
name of last month (like on the 15th of January it should display "December"
and this until the 15th of February, when it should change to "January")

Is this possible?
Many thanks in advance!
Best regards,

Valeria
 
Reply With Quote
 
 
 
 
Jens Peter Karlsen[FP MVP]
Guest
Posts: n/a
 
      17th Jan 2005
You can do it with Javascript using Date
You would get the current day and current month and depending on this
you can then decide what month name to write to the page. Here is a link
to a script that demonstrates how to do it.
http://javascript.internet.com/messages/date.html

needs to be adapted to your purpose.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

> -----Original Message-----
> From: Valeria [private.php?do=newpm&u=]
> Posted At: 17. januar 2005 11:09
> Posted To: microsoft.public.frontpage.client
> Conversation: change a month name automatically
> Subject: change a month name automatically
>
>
> Dear experts,
> I would like to change a month name on my webpage
> automatically. If possible it should change on the 15th of
> the current month to display the name of last month (like on
> the 15th of January it should display "December"
> and this until the 15th of February, when it should change to
> "January")
>
> Is this possible?
> Many thanks in advance!
> Best regards,
>
> Valeria
>


 
Reply With Quote
 
=?Utf-8?B?VmFsZXJpYQ==?=
Guest
Posts: n/a
 
      18th Jan 2005
Hi,
thank you very much. I am not good at all with code, so I actually do not
know how to change the code to make it display the text during a certain
period of time...
the example tells me how to display a text on a certain date, but how to
make it stay until the following date?

Thanks!
Best regards,
Valeria

"Jens Peter Karlsen[FP MVP]" wrote:

> You can do it with Javascript using Date
> You would get the current day and current month and depending on this
> you can then decide what month name to write to the page. Here is a link
> to a script that demonstrates how to do it.
> http://javascript.internet.com/messages/date.html
>
> needs to be adapted to your purpose.
>
> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
>
> > -----Original Message-----
> > From: Valeria [private.php?do=newpm&u=]
> > Posted At: 17. januar 2005 11:09
> > Posted To: microsoft.public.frontpage.client
> > Conversation: change a month name automatically
> > Subject: change a month name automatically
> >
> >
> > Dear experts,
> > I would like to change a month name on my webpage
> > automatically. If possible it should change on the 15th of
> > the current month to display the name of last month (like on
> > the 15th of January it should display "December"
> > and this until the 15th of February, when it should change to
> > "January")
> >
> > Is this possible?
> > Many thanks in advance!
> > Best regards,
> >
> > Valeria
> >

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically change reference cell each month =?Utf-8?B?QmFsenlvbmU=?= Microsoft Excel Misc 1 4th Apr 2007 06:14 PM
Automatically change the date in a word doc to one month back. =?Utf-8?B?QkM=?= Microsoft Word Document Management 1 12th Mar 2007 03:26 PM
How do you change the year but not the month automatically? =?Utf-8?B?QXV0dW1uIERyZWFtcw==?= Microsoft Excel Misc 3 28th May 2006 05:41 PM
change current month to prior month in header on monthly printout =?Utf-8?B?Sm9obks=?= Microsoft Outlook Calendar 0 2nd May 2006 03:13 PM
Automatically change month for all pivot tables =?Utf-8?B?TWFyY29zIFJvZHLDrWd1ZXo=?= Microsoft Excel Programming 7 25th Jan 2005 06:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:43 PM.