Fixing date storage format for SimpleDb and DynamoDB