Date functions: eseconds2date


eseconds2date() #@ Convert seconds since the epoch to ISO date
{
  declare -i esecs=$1
  printf '%(%Y-%02m-%02dT%02H:%02M:%02S)T\n' "$esecs"
}