2013-10-18 18:33:56 +02:00
|
|
|
# Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
|
|
|
|
# reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
# can be found in the LICENSE file.
|
|
|
|
|
2020-01-09 21:22:11 +01:00
|
|
|
from __future__ import absolute_import
|
2013-10-18 18:33:56 +02:00
|
|
|
import datetime
|
|
|
|
|
2017-05-28 15:04:18 +02:00
|
|
|
|
2013-10-18 18:33:56 +02:00
|
|
|
def get_year():
|
2017-05-28 15:04:18 +02:00
|
|
|
""" Returns the current year. """
|
|
|
|
return str(datetime.datetime.now().year)
|
|
|
|
|
2013-10-18 18:33:56 +02:00
|
|
|
|
|
|
|
def get_date():
|
2017-05-28 15:04:18 +02:00
|
|
|
""" Returns the current date. """
|
|
|
|
return datetime.datetime.now().strftime('%B %d, %Y')
|