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


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

## Description

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

Returns the start date of a worklog.

## Parameters

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

## Return Type

**Date**

## Examples

### Example 1

```
print(getWorklogStartDate(11201))
```

Prints the start date of the worklog with id = 11201.

### Example 2

```
for(number id in getWorklogIdsForUser("admin", "TP-9")){ print (getWorklogStartDate (id))}
```

Prints the start date for all the admin's worklogs of the issue with key = "TP-9".

## See also

> Macro (contentbylabel)