blob: 9d198e2502a7908581c4d2569c108325d46881c3 [file] [log] [blame] [edit]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
print_time() {
unix_time_from_date="$1"
awk "BEGIN { printf \""$(printf "%x" $1 | \
sed -e 's/\(..\)\(..\)\(..\)\(..\)/\\x\4\\x\3\\x\2\\x\1/g')"\" }"
}