hanyadikhetvan/HanyadikHetVan.cs

13 lines
313 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:56:13 +01:00
public int HanyadikHet => (DateTime.Now - (DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE")))).Days / 7;
2021-02-08 20:48:10 +01:00
}
}