I am running a script from java program using sshxcute API. Script contains:#!/bin/shdata=`stat -c%y filename`echo $dataScript running on bash gives output:2014-03-08 13:26:29.335545828 -0800Script running through java program gives output:2014-03-08 21:26:29.335545828 +0000I think the -0800 is getting added. I need output in first format. Anyone have any idea how to resolve the issue?
Shell script time output over java enviroment
java;timestamps;stat