SELECT format_datetime(date_parse(datetime, '%d/%b/%Y:%H:%i:%s +0000'),'YYYY-MM-dd HH-mm-ss') FROM "S3LOG_DATABASE"."S3LOG_TABLE" limit 10
formate_datetime は http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html なので注意。
Go to list of users who liked
More than 5 years have passed since last update.
SELECT format_datetime(date_parse(datetime, '%d/%b/%Y:%H:%i:%s +0000'),'YYYY-MM-dd HH-mm-ss') FROM "S3LOG_DATABASE"."S3LOG_TABLE" limit 10
formate_datetime は http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html なので注意。
Register as a new user and use Qiita more conveniently
Go to list of users who liked