Converting UNIX Timestamp to DOS format

The Date::unix2dos() method will convert a UNIX formatted timestamp into a DOS formatted timestamp.

Usage

  Date::unix2dos(159084000);
  2162688

Converting DOS Timestamp to UNIX format

The Date::dos2unix() method will convert a DOS formatted timestamp into a UNIX formatted timestamp.

Usage

  Date::dos2unix(2162688);
  159084000
converting_unix_and_dos_timestamps.txt · Last modified: 2009/12/10 17:07 by kerkness