Bitcoin Forum
June 17, 2024, 10:42:40 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question  (Read 512 times)
Fiiasco-Exalt (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
April 17, 2015, 10:07:22 PM
Last edit: April 18, 2015, 03:05:45 PM by Fiiasco-Exalt
 #1

How can I add a counter for how many days my site has been online?
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
April 18, 2015, 07:08:39 AM
 #2

You want to add a counter to your website or to a thread in this forum?

Vod
Legendary
*
Offline Offline

Activity: 3738
Merit: 3098


Licking my boob since 1970


View Profile WWW
April 18, 2015, 07:28:36 AM
 #3

How can I counter add a counter for how many days my site has been online?

Depends on what language you want to use.  It's straightforward to do, since all you want to do is display the date difference (in days) between today and the date your website started up.

https://nastyscam.com - featuring 13 years of OGNasty bitcoin scams     https://vod.fan - advanced image hosting - coming sooner than you think!
CoinFoxs
Copper Member
Legendary
*
Offline Offline

Activity: 1722
Merit: 1004

Campaign Management & Translation Service


View Profile
April 18, 2015, 07:37:22 AM
 #4

You want to add a counter to your website or to a thread in this forum?

I think he want to add a counter on is site, That his site will be launch after these Hour, min, second
Fiiasco-Exalt (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
April 18, 2015, 03:05:35 PM
 #5

You want to add a counter to your website or to a thread in this forum?

I think he want to add a counter on is site, That his site will be launch after these Hour, min, second

No I Just want a little html code that will increase by 1 everyday and says above it "Total Day Online:"
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
April 18, 2015, 07:46:54 PM
 #6

You can do: current_date - date_your_site_was_online.

You may get useful code from https://www.easycalculation.com/date-day/add-subtract-dates.php.

rigel
Legendary
*
Offline Offline

Activity: 1240
Merit: 1001


Thank God I'm an atheist


View Profile
April 18, 2015, 08:27:29 PM
 #7

No I Just want a little html code that will increase by 1 everyday and says above it "Total Day Online:"
You can't do it in HTML: you need PHP, ASP, ASPX, CGI, whatever...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!