I try to convert a Debian Timestamp to a date in Android shell (Tasker) like:
date -d @1487411077
But getting some errors.
How to do that?
The Tasker error looks like:
12.32.45/Variables doreplresult: |sh date -d @%last| -> |sh date -d @1487411077
|
12.32.45/Variables doreplresult: |sh date -d @%last| -> |sh date -d @1487411077
|
12.32.45/E Shell Ausführen: %last -> %last
12.32.45/E Shell Ausführen: ->
12.32.45/E Shell Ausführen: ->
12.32.45/Shell runBackground sh date -d @1487411077
root: true timeout: -1
12.32.45/Shell start process-thread ID 1013
12.32.45/E add wait type Shell1 time 2147483647
12.32.45/E add wait type Shell1 done
12.32.45/E add wait task
12.32.45/Variables doreplresult: |%last| -> |%last|
12.32.45/E Fehler: 127
Edit:
Android date is busybox and the I have to use busybox date -d @1487411077
tasker(not withdate).%last. What happens if you put in a literal as in you question, as opposed to the variable.