Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Date activated event help...
Old 04-12-2005, 04:27 PM Date activated event help...
heimedal's Avatar
Junior Talker

Posts: 1
Trades: 0
Hey everyone, I need a little help setting up an event, its just text on page as a reminder, but it needs to display on the first of every month for as long as the website exists, any ideas how I can do it??



Thanks
Heimedal
heimedal is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-12-2005, 07:32 PM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Trades: 0
I would think you could check today's date, see if it is the first day of the month then call some function which would print what you want to see.



Code:
if Day(Date) = 1 then
    call displaySubRoutine
Here are some references:
http://www.merlyn.demon.co.uk/vb-dates.htm
http://www.w3schools.com/vbscript/func_day.asp
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Reply     « Reply to Date activated event help...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09117 seconds with 12 queries