BleepingComputer.com: Pls Help... Redirecting based on Gmt time and date

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Pls Help... Redirecting based on Gmt time and date

#1 User is offline   Hareesh 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 18
  • Joined: 11-November 08
  • Gender:Male
  • Location:UAE

  Posted 27 July 2009 - 07:24 AM

Hi,
i have a site now its homepage is flash embeded one.
the inaugural date will be fixed later and its gonna be joomla based homepage.
The doubt i have is :
i want to redirect my flash page to joomla page on a specific date (say aug 15) and specific time (say 10:00hrs ) which shud be GMT.
i.e. i want the site to redirect to other page on same time where ever the user is.
Pls give a full html code (i'm a beginner)based on this idea.
Or if i can do it with flash also its acceptable....

Pls reply

This post has been edited by Hareesh: 27 July 2009 - 07:26 AM

HareesH
Visit our blogs
Made4Tech
YoogleTech
YoogleSoft
Posted Image

#2 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,522
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 27 July 2009 - 08:12 AM

You can't do it with HTML since HTML has no way of checking a date. I'm not a Flash programmer, but according to what I looked up on Google, you need to use the Date object like this:
today = new Date();


Once you have the date, you can get the hours, days, etc. and compare those to a fixed date, ie Aug 15th, 10:00. If the date is before, then load the current page. if the date is after, then load a different page.[code]getURL("http://example.com/new_page"); [/url]

You will have to write the code yourself though.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#3 User is offline   Hareesh 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 18
  • Joined: 11-November 08
  • Gender:Male
  • Location:UAE

Posted 27 July 2009 - 09:58 AM

View Postgroovicus, on Jul 27 2009, 05:12 PM, said:

You can't do it with HTML since HTML has no way of checking a date. I'm not a Flash programmer, but according to what I looked up on Google, you need to use the Date object like this:
today = new Date();


Once you have the date, you can get the hours, days, etc. and compare those to a fixed date, ie Aug 15th, 10:00. If the date is before, then load the current page. if the date is after, then load a different page.[code]getURL("http://example.com/new_page"); [/url]

You will have to write the code yourself though.

pls write the codes too as i do not know anything in such a coding...
HareesH
Visit our blogs
Made4Tech
YoogleTech
YoogleSoft
Posted Image

#4 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,522
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 27 July 2009 - 10:04 AM

I get a $250 (US) retainer, plus $100(US) per hour for consultation fees. Would you like my PayPal info, or would you prefer to maybe spend some time online researching it for yourself? :thumbsup:
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#5 User is offline   Hareesh 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 18
  • Joined: 11-November 08
  • Gender:Male
  • Location:UAE

Posted 27 July 2009 - 10:33 AM

View Postgroovicus, on Jul 27 2009, 07:04 PM, said:

I get a $250 (US) retainer, plus $100(US) per hour for consultation fees. Would you like my PayPal info, or would you prefer to maybe spend some time online researching it for yourself? :thumbsup:

sorry!
i dont wish to invest on this matter
I'll be luking forward for somone elz will com on the same time i'll be searchin for it too
HareesH
Visit our blogs
Made4Tech
YoogleTech
YoogleSoft
Posted Image

#6 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 548
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 27 July 2009 - 06:21 PM

Hahahahahahahahaha!!!! :D

This is not the place to be if you want people to WRITE the code for you. We will help you research it and give you pointers, but it will be YOU that has to write the code. Unless your willing to pay someone to get the job done.
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users