Date format in tdl

Discussion in 'Tally Developer' started by Deepak R.Patil, Dec 19, 2012.

    
  1. Deepak R.Patil

    Deepak R.Patil New Member


    Dear All,

    I need your help for code date format like 20.2.2012 , 20/02/2012 , 20-02-2012
     


  2. admin

    admin Administrator Staff Member


    This date seperator is handled by Default Tally Kernel Level for a date field.

    in Tally Configuration (F12)--> general Configuration we have that option.

    Still, you want to print in the form you like.. you can convert the same to String and parse the Date/Day and Year.. then concatenate the same with desired operator
     


  3. Vikram

    Vikram Member


    hi,

    [Field :datefieldName]
     


  4. Vikram

    Vikram Member


    hi,
    please refer the cheque printing code of default tdl.
     


  5. Deepak R.Patil

    Deepak R.Patil New Member


    Thanks for your kind suggestion.
     


  6. Bhavesh

    Bhavesh New Member


    you have to write a code for dd/MM/yyyy format
     


  7. Bhavesh

    Bhavesh New Member


    Dear Deepak,

    sending you a code for date dd/MM/yyyy

    [Field : StdDate]
    Set As : $$ZeroFill:mad:DayofDate:2 + '/'+ $$ZeroFill:mad:MonthofDate:2 + '/'+ $$String:mad:YearofDate
    DayofDate : $$DayOfDate:$Date
    MonthofDate : $$MonthOfDate:$Date
    YearofDate : $$YearOfDate:$Date
    Style : Normal Bold

    try this
    even I have write code for D D M M Y Y Y Y can be use with tally 9 for new cheque printing
    will send you later, I am in hurry

    regards

    Bhavesh
     
    Ras Raj likes this.



  8. Hi
    if u have the developer go through the cheque printing config u will get the function for D D M M Y Y Y Y
     


  9. Bhavesh

    Bhavesh New Member


    Thanks, I have already develop the code even for Tally 9 (Non ERP) version
     


  10. 9779845157470

    9779845157470 New Member


    dear sir
    I need your help for code date format like 20.2.2012 , 20/02/2012 , 20-02-2012
    all vaucher and ledger in tally display and print all instead of 20/feb/2012
     


Share This Page