hanyadikhetvan/HanyadikHetVan.cs

13 lines
317 B
C#
Raw Normal View History

2021-02-08 20:48:10 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace hanyadikhetvan
{
public class HanyadikHetVan
{
2021-02-09 15:07:16 +01:00
public int HanyadikHet => DateTime.Now.Subtract(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"))).Days / 7;
2021-02-08 20:48:10 +01:00
}
}