alternative time fetching method using tlsdate as alternative to curl