How can I get device time format?

Hey! When I used react native without expo I had device info and a method is24Hour().
But with expo i’m having hard time to get that device info without ejecting.
I don’t want to eject my project. is there anyway to get the device time format? 24/12 ?