---
title: "getWorklogCreatedDate"
canonical: "https://support.appfire.com/space/PSJC/434799340/getWorklogCreatedDate"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Returns the created date of a worklog.

Returns the created date of a worklog.

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

## Parameters

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

## Return Type

**Date**

## Example

```javascript
print(getWorklogCreatedDate(key, 11201))
```

Prints the created date of the worklog with id = 11201, on the current issue.

## See also

> Macro (contentbylabel)