Легкая работа по C#
помочь решить задачу
у нас есть 4 параметра и массив с недостающими датами на выходе:
эти параметры указывает диапазон дат который нам нужно искать ОТ и ДО
DateTime searchFrom = DateTime.ParseExact("01.04.2021 15:15:15.000", "dd.MM.yyyy HH:mm:ss.fff", CultureInfo.InvariantCulture).ToUniversalTime();
DateTime seatchTo = DateTime.ParseExact("27.04.2021 33:33:33.000", "dd.MM.yyyy HH:mm:ss.fff", CultureInfo.InvariantCulture).ToUniversalTime();
эти параметры указывают диапазон дат которые у нас уже есть
DateTime searchExistFrom = DateTime.ParseExact("12.04.2021 10:20:00.000", "dd.MM.yyyy HH:mm:ss.fff", CultureInfo.InvariantCulture).ToUniversalTime();
DateTime seatchExistTo = DateTime.ParseExact("19.04.2021 55:55:55.000", "dd.MM.yyyy HH:mm:ss.fff", CultureInfo.InvariantCulture).ToUniversalTime();
на выходе нужно получить массив недостающих КРАТНЫХ 1 ЧАСУ
Dictionary<DateTime, DateTime> result = new Dictionary<DateTime, DateTime>();
вот пример массива с результатами:
Dictionary<DateTime, DateTime> result = new Dictionary<DateTime, DateTime>();
от 01.04.2021 15:15:15.000 до 01.04.2021 16:15:15.000
от 01.04.2021 16:15:15.001 до 01.04.2021 17:15:15.000
.......
.......
.......
Current freelance projects in the category C#
Implementation of Telegram business logic
167 USD
What we have: .Net core project for developing a Telegram bot for employee surveys. The project works on the web using Docker, update reception via webhook implemented, all additional business logic functions implemented except the main one - the survey process. What needs to… C#, Bot development ∙ 6 proposals |
Write a program in C# using a database
13 USD
A program needs to be written in the C# programming language with database connection (My Sql), on the topic of designing and developing the "Workday Planning" database. Overall, part of the program already exists, but it is necessary to create a database and connect it to… C#, Databases ∙ 10 proposals |
Smart contract for token airdrop
637 USD
Need to create a smart contract for token giveaways, which will then be integrated into a Telegram bot. About the giveaway: - A person transfers crypto (USDT or other cryptocurrency...) to a specific wallet address. - The smart contract automatically sends tokens or NFTs to the… Blockchain, C# ∙ 4 proposals |
C# and go developer under refactoring list of services |
Software application “College Graduate Guide” (C# Windows Form)Create the GUI program "Visual Studio C#, Windows Forms" which provides: List of graduates; Adding and updating information; use of different filters and criteria to find specific graduates according to the professional direction, the place of work, the year of release; The… C#, Microsoft .NET ∙ 18 proposals |