Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Aqueduct
Extensions
Dates
SecondsAgo
Aqueduct.Extensions.Dates.SecondsAgo C# (CSharp) Method
Dates Class Documentation
ファイルを表示
Open project: aqueduct/Aqueduct.SitecoreLib
SecondsAgo()
public
static
method
Gets a date in the past according to seconds
public
static
SecondsAgo
(
this
seconds
) :
System.DateTime
seconds
this
The seconds.
return
System.DateTime
public static DateTime SecondsAgo(this int seconds) { return DateTime.Now.AddSeconds(-seconds); }
Dates
CountWeekdays
CountWeekends
DaysAgo
DaysFromNow
Diff
DiffDays
DiffHours
DiffMinutes
FormatString
GetDateDayWithSuffix
GetFormattedMonthAndDay
GetSuffix
HoursAgo
HoursFromNow
IsDate
IsWeekDay
IsWeekEnd
MinutesAgo
MinutesFromNow
ReadableDiff
SecondsAgo
SecondsFromNow
TimeDiff