Skip to main content

Search

Search

Transform A Date In Day Of The Year Help

Comments

7 comments

  • Avatar
    Michael Toupin (mtoupin

    Is the label creating the date based off of the current date, or is it getting it as a manual or external entry?  

     

    if it's using a date field in BarTender, just change the date type to julian to achieve this.  If it's coming from a data entry or database, you'll have to write a VB script to convert it.

    0
  • Avatar
    Legacy Poster

    [attachment=1381:Julian Date.JPG]

    1
  • Avatar
    Legacy Poster

    Hi Guys,

     

    thanks for the reply,

     

    its comming from a database.

    so i also thougt i needed to use vb script.

    problem is i dont know any vbscript.

    Anyone has an example.

     

    Thanks.

    0
  • Avatar
    Legacy Poster

    It works the same. Did you try it?
    [attachment=1384:juliandate.JPG]

    0
  • Avatar
    Legacy Poster

    I have a Julian day code (jjj) entered in from the Data Entry Form. How can I get that day to transform to MM/DD/YYYY (Production Date) for
    another data field?

     

    Looks like I will have to use VBScript?

     

    I will then have another data field (Expiration Date) offset  from entered jjj code using a number from a database.

    0
  • Avatar
    Markus Zott

    I have the same problem. I need the day number in a DateMatrixCode. e.g. 3.1.2024 = 3

    0
  • Avatar
    Peter Thane

    If you configure the DataMatrix date object like this then that should sort it 

    If the date is also included in a text or other field in the label then I would suggest you make the Data Source type and Object Method field and link the DataMatrix substring to that object

    0

Please sign in to leave a comment.