September 22, 2010

How to format the time span between now and the date specified in a "Facebook way"

Recently I was looking for some method to format the time span between now and the date specified in a "Facebook way". There are some, but none was completely what I was looking for. So I have decided to create mine. Moreover, it's not that complicated:

1 comment:

Anonymous said...

public static const MINUTE_IN_SECONDS : int = 60;

shouldn't be seconds in minute ? :)