Modified Advanced Password library to reflect changes of time