how we make clock ???
for discribing birth date and time.
The same way you make any program. Figure out what you want and how it should look. What libraries can be used to simplify your job. Then, code and test small pieces to expand it towards your finished program.