Revert "produce sn from datetime base"

This reverts commit b1cc77ecc88d4b62f8988b188f57f76b62fb9907.