part of code for check pending dragonid registeration
fixed bugs of tf begindate as the day