Automatically calculate filed value in odk build

No it's not possible because we don't support dynamic default answers please read Assigning a dynamic default value to a text-type question
You can do something like described int this asnwer Assigning a dynamic default value to a text-type question - #2 by yanokwa