Date time tadk

Please can you show me another method also because I have to show 2 method @kumar.varun2