new fmtdate function
Merge pull request #121 from FVANCOP/fmtdate

new fmtdate function