---
title: "getBlogsInPeriod"
canonical: "https://support.appfire.com/space/PSCONF/15304731/getBlogsInPeriod"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | getBlogsInPeriod(spaceKey, date, period) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns blogs of a space, by space key, date and period.

Returns blogs of a space, by space key, date and period.

## Return Type

**Number []**

## Examples

### Example 1

Gets all blogs for February.

```javascript
return getBlogs("PSCONF","2010-01-02", "MONTH" );
```

Return 131785|131890|132923|134465

### Example 2

Gets all blogs for 20 February.

```javascript
return getBlogs("PSCONF","2010-20-02", "DAY" )
```

Return 134465

## See also

> Macro (contentbylabel)