better time/date usage for fx barrier