some fixed and extension for Variant date