• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
2# reserved. Use of this source code is governed by a BSD-style license that
3# can be found in the LICENSE file.
4
5from __future__ import absolute_import
6import datetime
7
8
9def get_year():
10  """ Returns the current year. """
11  return str(datetime.datetime.now().year)
12
13
14def get_date():
15  """ Returns the current date. """
16  return datetime.datetime.now().strftime('%B %d, %Y')
17