|The BIOS stores the time as raw numbers and is formatted to a default format that cannot be changed. This format just happens to be a 24 hours clock and the date in mm/dd/yyyy which is to be expected as most BIOS code originates in the USA. However I am in the UK which uses a different date format it is not much use to me.|
Formatting of the time/date is done in the Operating System when reads the time from the BIOS during boot-up, consequently all dates on my computer are formates to dd/mm/yyyy format
The time/date is formatted in Windows first and applications can then chose to use this format or one of their own. Well written applications should use the Operating system time/date format. You are most likely getting the time form the Operating System. Getting the time directly from the BIOS is quite a complex procedure and should be avoided.
Time data/formatting is set in the regional options that can be found in the Control Panel.