I’m trying to format text/the time in this specific script, shared by Monster. What I would like to achieve is for numbers below 10 to have a “0” in front of them. So that the time looks like 03:08 instead of 3:8
My question is - how would one do this the most efficiently? I could possibly throw in a few if statements but isn’t there a way to tell Blender to display time/date with 2 digit numbers?
ALSO:
This is another question, if anyone knows - how to get a portion of a string?
I know how to get specific characters but how would you do - print the last 8 characters of a string and nothing before them?
VegetableJuiceF @ NICE! So just needed the [-8:] in the end
battery @ Yeah I was thinking that aswell with the “if” statement, was just wondering if there was a way to tell blender to format the time differently in the format line…
Anyways, great resources on the slicing, thanks guys! It will be so much easier working with paths now.
Still, If anyone knows about the time formatting thing - please do leave a comment!
[EDIT]
youle @ BIG BIG SHOUT!
Works even better than the way I did it first. Wow this is gonna be awesome, thanks a lot guys