here is the snippet
data = ''2007-12-31 Name (mike) Age (34).....'
gregorian = time.strftime(data.split(" ")[0])
print gregorian
this gives me "2007-12-31"
i need to convert the gregorian date in the variable to julian date.
i tried this but it gives me the current date
julian = time.strftime('%j', time.localtime())