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