how can i add a date and time in a labelbox and how can i know the location of my program

thanks!!!!