How to get current Day name ?

  • Автор темы Автор темы Robejon
  • Дата начала Дата начала

Robejon

Пользователь
Регистрация
11.11.2017
Сообщения
40
Реакции
4
Баллы
8
HI,
I need to get the current Day name?
Example "Friday"

Also what is the syntax to get date in this format ?
22.12.2017

Thanks
 
I added
{-TimeNow.DayOfWeek-}
In C# code.
But returned Project failed.
 
Action Text processing > To variable

C#:
Развернуть Свернуть Копировать
return DateTime.Now.DayOfWeek;
C#:
Развернуть Свернуть Копировать
return DateTime.Now.ToString("dd.MM.yyyy");
 
Thanks Works fine..
For any newbies out there...
Just take a New variable and inside it paste {-TimeNow.Datedd.MM.yyyy-}
Save that to a variable and .. there you have it...
 
  • Спасибо
Реакции: mta
But I need help in converting the current date in the below format:
Wednesday 13th December 2017
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)