Jump to content

mills

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by mills

  1. @deanishe

     

    Okay so it's working as intended entirely, however I'm now curious if I could create ordinals in the formatting. My python being entirely atrocious, I'm unsure where to interject it. The modified workflow is here, if you'd be willing or able to help.

     

    I did modify to output "Today" when N = 0 and another date by adding two variables, 'rawdays' & 'd7' respectively.

     

    I did find this solution, but I was not able to see how it would be placed in the script.

  2. 3 hours ago, deanishe said:

    I'm happy to help further, but you need to be a lot clearer about how you calculate your delivery dates.

     

    Honestly, for the purpose of this expansion this is perfect. In theory an order could be placed early enough on a Friday and approved for production that it could go a day earlier, but it's not the most common; similarly an order placed Sunday may be submitted and shipped earlier than one placed Monday because of production workflows. All of the dates are provided as estimates, so seriously, thank you so much, and this will do exactly as necessary.

  3. @deanishe

     

    That is awesome, thank you so much. I don't think the holiday thing is as relevant for this purpose, so this is fine.

    I should probably learn python.

    I did notice that I can add 0 days and get today's date, but adding 1 goes to Monday, which makes sense given the way the data is defined in main, but what would I need to do to parse that out? Basically so if someone said "I want to know when I'll get this if I order on Sunday" I would be able to get that answer.

     

    Would I need to define a new function and pull the 'ordered' out so that it just adds date + n, no matter what day of the week?

  4. I have a workflow (here) which works well to take trigger a snippet with calculated days, however, I'd like to make it exclude weekends (or alternatively include only business days), but I'm unsure how to go about doing that. I am assuming a script filter would need to be placed between the initial input of "number of days ahead" and all calculations based on that input.

×
×
  • Create New...