snap package:Cabal

Modifies a PackageDescription by appending a snapshot number corresponding to the given date.
Modifies a Version by appending a snapshot number corresponding to the given date.
Given a date produce a corresponding integer representation. For example given a date 18032008 produce the number 20080318.
Prepare a directory tree of source files for a snapshot version. It is expected that the appropriate snapshot version has already been set in the package description, eg using snapshotPackage or snapshotVersion.