# Simple Custom Action

**URL:** <https://community.pickaxe.co/t/simple-custom-action/2123>\
**Category:** General\
**Created:** [October 17, 2024, 9:45am UTC](https://community.pickaxe.co/t/simple-custom-action/2123 "2024-10-17T09:45:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ab2308](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.pickaxe.co/ab2308/32/1542_2.png) [@ab2308](https://community.pickaxe.co/u/ab2308)\
**Post date:** [October 17, 2024, 10:15pm UTC](https://community.pickaxe.co/t/simple-custom-action/2123/3 "2024-10-17T22:15:14Z")

</div>

Hi @landed , something like this?

> [@User Input - is there a variable to use within the Query](https://community.pickaxe.co/t/user-input-is-there-a-variable-to-use-within-the-query/503/6):
>
> Hi @landed You can use a custom action and add a library for the date and time? Something like import os import datetime import pytz def current\_time\_and\_date(: str): """ Return the current time and date Args: (string): Envs: (string): """ # Insert your PYTHON code below. You can access environment variables using os.environ[]. # Currently, only the requests library is supported, but more libraries will be available soon. # Use print stat…

---

_[View the full topic](https://community.pickaxe.co/t/simple-custom-action/2123)._
