HomeForum
Welcome, Guest

File Name Function For Previous Day
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: File Name Function For Previous Day

File Name Function For Previous Day 1 year, 2 months ago #1712

I am utilizing the Export Data object within a package. The target file name from the export is named as follows.

"G:\itg\Business Intelligence\ETL\Load Files\Testing_1\Monthly Timesheet_{GetSystemDate('YYYYMMDD')}.xlsx"

This works well but I have a need to name an export file with the previous day's date. How can I get sysdate -1 for the previous day?

Please help.

Re: File Name Function For Previous Day 1 year, 2 months ago #1713

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2181
  • Karma: 12
try this one

"G:\itg\Business Intelligence\ETL\Load Files\Testing_1\Monthly Timesheet_{FormatDateTime('yyyymmdd',now-1)}.xlsx"

Mike

Re: File Name Function For Previous Day 1 year, 2 months ago #1721

It worked perfectly. Thanks for your assistance!
  • Page:
  • 1
Time to create page: 0.16 seconds

Testimonials

One of the good things about Advanced ETL Processor that the trial has no limitations. There is no need to fill in any registration forms or to buy the software in advance.  That saved us a lot of time and we were able to load and  validate all our data when we needed it urgently.

John Parker.

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top