Differences between revisions 7 and 8
Revision 7 as of 2019-10-09 15:00:01
Size: 2533
Comment:
Revision 8 as of 2019-10-09 15:00:32
Size: 2537
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
#acl AdminGroup:read,write,delete,revert,admin TadashiIijima:read,write,delete,revert,admin IijimaStaffGroup: IijimaGroup: IijimaObogGroup: GuestGroup: Known: All: #acl AdminGroup:read,write,delete,revert,admin TadashiIijima:read,write,delete,revert,admin IijimaStaffGroup: IijimaGroup: IijimaObogGroup: GuestGroup: Known: All:read

[ edit ]

import datetime

def today():
    return( datetime.date.today() )

import datetime

def now():
    return( datetime.datetime.now() )

import datetime

def today_str():
    date_of_today = today()
    return( str( date_of_today.year  ) + "" + 
            str( date_of_today.month ) + "" +
            str( date_of_today.day   ) + "" )

import datetime

def now_str():
    current_time = now()
    return( str( current_time.hour   ) + "" + 
            str( current_time.minute ) + "" + 
            str( current_time.second ) + "" + 
            str( current_time.microsecond ) + "μ秒" )

SoftEng: Python/Prog/Example/02/Ex_005a/Digest (last edited 2019-10-09 15:00:32 by TadashiIijima)