While scraping data from the internet, I am getting a number as a response instead of the date-time string. Below are few example:
1508486400 -- instead of "2017, 20 Oct 10:00:00"
1510974000 -- instead of "2017, 18 Nov 4:00:00"
1388664000 -- instead of "2014, 02 Jan 13:00:00"
I want to convert these number to the corresponding date in the format "dd/mm/yyyy"
. Though preserving the timezone is not a mandate, but it is good if I could get the string based on the timezone to which my dates belong.
The dates I am trying to extract from the number belongs to "CAT+2:00:00"
timezone.