Tamil kodi Posted April 12, 2019 Share Posted April 12, 2019 I want to write the file content with file name "content__.txt" with 24 hours format. File name should change according to the date and time. How to do this Please anyone help me in this. Am new to BW. learning file palette. How to achieve this dynamic file name. BW version 6.5.1 Link to comment Share on other sites More sharing options...
Ankur Parashar 4 Posted April 22, 2019 Share Posted April 22, 2019 File name may be written something like in following format (#BW6): concat("content","_", format-dateTime(current-dateTime(), concat("[D01][M01][Y0001]","_","[H01][m01][s01]")),".txt") This will give sample output as: content_23042019_003508.txt Hope this helps. Link to comment Share on other sites More sharing options...
Tamil kodi Posted April 23, 2019 Author Share Posted April 23, 2019 It's working fine. Thank You. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now