---
title: "getWorklogUpdatedDate"
canonical: "https://support.appfire.com/space/PSJ/15484027/getWorklogUpdatedDate"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getWorklogUpdatedDate(worklog) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns the last date when the worklog was updated.

Returns the last date when the worklog was updated.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| worklog | Number | Yes | Id of the selected worklog. |

## Return Type

**Date**

## Examples

### Example 1

```
print(getWorklogUpdatedDate(11201))
```

Prints the last date when the worklog with id = 11201 was updated.

### Example 2

```
for(number id in getWorklogIds("admin",key)){
  print (getWorklogUpdatedDate(id))
}
```

Prints the last date when the admin's worklogs of the current issue were updated.

## See also

> Macro (contentbylabel)