Get Day From Date

hi
If We Have Text File with This Time_t:
text:
1412418803

I Want To Know How I must Get Day From this If I Convert Into tm* With this
with
1
2
  times=localtime(&gos);
  times->tm_mday;


it Will Give Me Today Day But The Time In Text file IS For Yesterday.
Topic archived. No new replies allowed.