How to add a column with the date
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
IsaacRamiro
5 - Atom
‎04-26-2022
08:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I hope somebody can help me. I need to sum the days of warranty to the initial day and plug it to a master file i am doing.
Thanks an best regards.
Ramiro.
Labels:
- Labels:
- Date Time
2 REPLIES 2
17 - Castor
‎04-26-2022
08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @IsaacRamiro
You need to use a few date time formulas:
- Use DateTimeParse to turn the date into a proper alteryx readable date
- DateTimeAdd to add the days of warranty
- DateTimeFormat to format back to your desired format
More info on datetime formulas: DateTime Functions | Alteryx Help
DateTimeFormat(DateTimeAdd(datetimeparse([Date],'%d/%m/%Y'),[Days of warranty],'days'),'%d/%m/%Y')
binuacs
21 - Polaris
‎04-26-2022
09:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@IsaacRamiro another way of doing with the DateTime tool. I agree that @Luke_C method's is the simple one but I want to show you the other methods as well.
