5 days ago on Sunday

Displaying dates for a user can be a bit tricky. First, you have to take into consideration what time zone they are in and what date format they prefer. Also, some people consider it easier to calculate a relative date in their mind. An easy workaround to this mess is to display dates in a relative format, "2 hours ago", "5 months ago." The way this is done, is to take the difference of two Unix timestamps--virtually, seconds since January 1, 1970 00:00 UTC.

Read more →

View, comment, or rate Relative Dates in PHP and JavaScript
3 months ago on October 16

ISO

These are some free, regularly-updated ISO code sets downloads compiled from various sources. These include from countries and languages to currencies and exchange rates. All documents have UTF-8 encoding. Save the files to your own server.

Read more →

View, comment, or rate Download Free ISO Codes and Exchange Rates
5 months ago on September 10

Most developer languages give you a file's size in bytes. With these methods you can convert them to readable amounts and units.

Read more →

View, comment, or rate Bytes to File Size with PHP and JavaScript
5 months ago on September 3

MP3 Player

Here's the structure of a basic Flash MP3 player. Song information is retrieved from the file itself through its ID3 tags. For the most part, all functionality is written with ActionScript. There are also drawn components such as the Movie Clip bar fills, which use the ColorTransform class to dynamically alter its color.

Read more →

View, comment, or rate Creating a Basic Flash MP3 Player with ID3
6 months ago on July 14

Currencies

Images_of_Money

Note: Country and currency codes are added and removed periodically by the ISO and not reflected in this example. For that, please see Download Free ISO Codes and Exchange Rates.

Read more →

View, comment, or rate Databaseless Currency Conversion for PHP

More pages