pub fn timestamp_to_bytes(timestamp: u32) -> Vec<u8> ⓘ
Converts timestamp (u32) into vector of bytes
Should be used for any Attribute of type date to ensure value is encoded correctly