Highlighted
Occasional Contributor

How To Capture Current Time?

I want capture current time in Anaplan. please suggest which function should i use?

10 REPLIES 10
Highlighted
Master Anaplanner/Community Boss

Re: How To Capture Current Time?

@MONIKA CHAUHAN 

Great question, one that is asked by a lot of people.

Anaplan does not have a built in function to give you the current date or time.

However, the engineering team is working on this.

 

In the meantime, you can import the system date/time into a module. Most people will just put that on a scheduler and load it everyday.

 

The reason there isn't a current date/time function is that Anaplan would have to recalculate the entire model every time the time changed. 

 

 


Jared Dolich
Highlighted
Occasional Contributor

Re: How To Capture Current Time?

Thanks @Jared Dolich 

But would you please help me out that how can i import system date and time in Anaplan.

Highlighted
Community Boss

Re: How To Capture Current Time?

@MONIKA CHAUHAN 

 

You either store it in Anaplan manually and admins change the date on a daily basis or

You can pull the current date into Anaplan and schedule the job. This option is used quite frequently but it needs certain integration efforts. Few things you need to achieve this

1. First you need an import action which will pull the current date from your preferred external folder into Anaplan module

2. Need Anaplan Connect and batch scripts

3. Need Scheduler that will schedule the job

Highlighted
Occasional Contributor

Re: How To Capture Current Time?

Thnaks @Misbah 

out of your three suggested steps i am not able to perform first step. Bcs in csv or text formated sheet i am not able to capture system date and time. can you please help me out.

Highlighted
Master Anaplanner/Community Boss

Re: How To Capture Current Time?

@MONIKA CHAUHAN

I would go with @Misbah first suggestion for now and manually enter it while you work on the automation script.

@Misbah do you know if it's possible to capture the system date and time from an anaplan connect script? I've never tried it.

I always use an ETL tool like Informatica or Python.


Jared Dolich
Highlighted
Community Boss

Re: How To Capture Current Time?

@Jared Dolich 

 

Just the normal integration. Get the current date from any source system wherever it is available and load it with the help of Anaplan Connect like a normal import process gets imported.

Highlighted
Community Boss

Re: How To Capture Current Time?

depends on the system but usually yes.

bash can get system date and create a csv with it


Nathan Rudman, Anaplan Model Builder
Highlighted
Community Boss

Re: How To Capture Current Time?

@MONIKA CHAUHAN 

 

Not sure what you mean by that. You input you current date in .csv file and import it. Can you please elaborate more - will try and help

Highlighted
Occasional Contributor

Re: How To Capture Current Time?

@Misbah 

Actually i want to create clock functionality in Anaplan, for that i want to display my system's date and time in anaplan.

By import action i am able to capture it once, but i want that it will update every time when i rum the action.