Torma Kristóf
d9c397d2ce
All checks were successful
continuous-integration/drone/push Build is passing
11 lines
276 B
Python
11 lines
276 B
Python
from math import floor
|
|
from datetime import date
|
|
import azure.functions as func
|
|
|
|
|
|
def main(req: func.HttpRequest) -> func.HttpResponse:
|
|
startdate = date(2022, 2, 6)
|
|
return func.HttpResponse(
|
|
floor((date.today() - startdate).days / 7),
|
|
status_code=200)
|