Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

static internal long FlickrNet::Utils::DateToUnixTimestamp ( DateTime  date  )  [inline, static, private]

Converts a DateTime object into a unix timestamp number.

date The date to convert.
A long for the number of seconds since 1st January 1970, as per unix specification.

Definition at line 64 of file Utils.cs.

                  TimeSpan ts = date - unixStartDate;
                  return (long)ts.TotalSeconds;

Generated by  Doxygen 1.6.0   Back to index