Add Number and Date modules to examples

These modules declare aliases for the global objects.
Use the same definition of timestamp module in examples as in the README