Forum:How to make it count?

How can I make the source count how many days ago it is, for example, I want it automatically to change how many days ago is it from February 18, 2012? &mdash; [/wiki/User:Sam_Wang S a m ] [/wiki/Message_Wall:Sam_Wang W a n g ] 05:26, February 19, 2012 (UTC)
 * Check out w:c:dev:countdown. That will do what you want.--
 * You are thinking about countdown, but I want it to count-up. How to make it count up? &mdash; [/wiki/User:Sam_Wang S a m ] [/wiki/Message_Wall:Sam_Wang W a n g ] 08:17, February 19, 2012 (UTC)
 * That script counts up too. If you set the time for some time that already passed it will display "t plus x days until y". You can customize it more to make it look nicer but that will do it.--

What do you mean, can you make an example of what I can do with February 18, 2012? &mdash; [/wiki/User:Sam_Wang S a <font color=#bibibi>m ] [/wiki/Message_Wall:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 02:30, February 20, 2012 (UTC)
 * If you don't customize the script and just import it, it will show t plus 1 day, 9 hours 33 minutes and 32 seconds until February 18, 2012. If you customize the js a bit, you can have it display February 18, 2012 was 9 hours 33 minutes and 32 seconds ago.--
 * You'd need to add the following to the MediaWiki/Common.js page:
 * importScriptPage('Countdown/code.js', 'dev');


 * Then create a template (e.g. Template:CountUp) with:
 * February 18 2012 00:00:00 GMT since 18th Feb Javascript disabled.


 * Then call the template on whichever page you're placing that on.


 * MTracey1 PSN/XBL: Mackem1985 02:43, February 20, 2012 (UTC)
 * How should I customize the script? And I want to do it in a wiki that I'm not an administrator in &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/Message_Wall:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 04:50, February 20, 2012 (UTC)
 * If you are not an admin, you cannot use this script. You need to be an admin to edit JS.--
 * I can simply ask an administrator, but can you tell me how to customize the script? &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/Message_Wall:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 05:22, February 20, 2012 (UTC)