Time functions Flashcards

1
Q

startOfWeek() represents …

A

Sunday starting the current week at 0h00:00

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

endOfWeek represents …

A

Saturday ending the current week at 23h59:59

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3 caveats for time functions

A

They are relative to the time zone of the current user
They take into account the seasonal time shifts
Weeks start on Sunday (not Monday)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

syntax for “in 5 days from the current datetime”

A

+5d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

syntax for “10 minutes ago”

A

-10m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

cite 2 login relative time functions and their usage

A

currentLogin() : the dateTime when my current Jira sessions started
lastLogin() : the dateTime when my previous Jira sessions started

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Syntax for “start of day tomorrow” ?

A

startOfDay(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

2 possible syntaxes for “start of day 5 days ago”

A

startOfDay(“-5”)

startOfDay(“-5d”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

syntax for “start of this week (Monday 0:00:00)”

A

startofWeek(1d)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

syntax for “end of this week (Sunday 23:59:59)”

A

endOfWeek(1d)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly