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 5 from __future__ import absolute_import 6 import datetime 7 8 9 def get_year(): 10 """ Returns the current year. """ 11 return str(datetime.datetime.now().year) 12 13 14 def get_date(): 15 """ Returns the current date. """ 16 return datetime.datetime.now().strftime('%B %d, %Y') 17