Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> timezone option for timestamp to datetime conversion


+
anup ahire 2013-07-17, 18:28
Copy link to this message
-
Re: timezone option for timestamp to datetime conversion
I haven't try, but looks like you can use ToDate(String dtStr, String
format, String timezone) ?

Johnny
On Wed, Jul 17, 2013 at 11:28 AM, anup ahire <[EMAIL PROTECTED]> wrote:

> Hello,
>
> ToDate function on long timestamp always uses default time zone.
>
> Why option of specifying timezone for timestamp to datetime conversion is
> not available like its available for customized string to date time
> conversion ?
>
> Thanks,
> Anup
>
+
anup ahire 2013-07-17, 19:26
+
Shahab Yunus 2013-07-17, 20:13
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB