Fixed bug in bdtnow setting
Really fixed bug in bdtnow.