Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Format Date/Time and milliseconds
Topic Summary: Can I use format fff for milliseconds?
Created On: 12/09/2015 08:23 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Hamid Noorbakhsh, on Thursday, December 10, 2015 10:28 AM

Answer:
TetsuyaOka,
Starting with 10.3 we have converted everything to .Net formatting so you can use that reference, however, in 10.2 and older versions this is not true.
When upgrading to 10.3 or newer version, the migration SHOULD take care of most issues, but a check is recommended since we now have 'M' for month and 'm' for minutes as in .Net.

Going forward you we adhere to the .Net standards in this matter, so bookmark that page.
 12/09/2015 08:23 AM
User is offline View Users Profile Print this message

Author Icon
TetsuyaOka
Journeyman (50-99)

Posts: 58
Joined: 06/14/2010

Hello everyone,

I would like to use milliseconds in Date/Time format.
There is no example in "Format syntax" nor help.

However, it looks like I can use "fff" for milliseconds as attached code.
Looks OK for me, but is it officially supported by Automate 10?

I think Automate is created based on .NET, so I guess that I can use this format safely.
But I'd like to know.

Reference
Custom Date and Time Format Strings
https://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx

Thanks and best regards,
Tetsuya

 Category Survey
AutoMate 10 version: 10.2.0
Windows version: Windows Server 2012 R2



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 12/09/2015 08:36 AM
User is offline View Users Profile Print this message

Author Icon
Hamid Noorbakhsh
HelpSystems

Posts: 454
Joined: 07/29/2008

Answer Answer
TetsuyaOka,
Starting with 10.3 we have converted everything to .Net formatting so you can use that reference, however, in 10.2 and older versions this is not true.
When upgrading to 10.3 or newer version, the migration SHOULD take care of most issues, but a check is recommended since we now have 'M' for month and 'm' for minutes as in .Net.

Going forward you we adhere to the .Net standards in this matter, so bookmark that page.

 Category Survey
AutoMate 10 version:
Windows version:


-------------------------
Thank you for choosing AutoMate

Hamid Noorbakhsh | Senior Software Engineer
AutoMate | A Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 12/10/2015 10:32 AM
User is offline View Users Profile Print this message

Author Icon
TetsuyaOka
Journeyman (50-99)

Posts: 58
Joined: 06/14/2010

Hello Hamid,

Thank you for the explanation.
I was bit concerned that we need to upgrade to 10.3, but totally understand that.

By the way, that format change (nn to mm) was quite impact for our environment,
so, we are currently planning upgrade to 10.3.

Thanks again, and best regards,
Tetsuya Oka


 Category Survey
AutoMate 10 version: 10.2.0
Windows version: Windows Server 2012 R2
 04/19/2018 07:11 AM
User is offline View Users Profile Print this message

Author Icon
EdsonGiovanelli Da Silva
n00b (>6 posts)

Posts: 5
Joined: 10/25/2011

Id like to know if is possible get milliseconds in AutoMate 10.1 version?
Using "fff" doesnt work.

 Category Survey
 04/20/2018 02:18 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hello,

What result are you getting when you run the task using "fff"?

Can you post your task/steps?

 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700

Edited: 04/20/2018 at 02:54 PM by Ricardo Castaneda
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 514 guests browsing this forum, which makes a total of 514 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog