Copy link to clipboard
Copied
When I insert the Field with the date "yyyy" format, it inserts in the HTML the following code:
<?rh-variable_start name="date" format="yyyy" showcode="showcode" value="43956.371377" ?>.
What value="43956.371377" means? Is it safe to delete it? What role it plays?
Copy link to clipboard
Copied
That's the date represented as a number, so if you delete it, I imagine you'd break the field.
Try this in Excel to see what I mean.
Type a date.
Change the format to Number and the date changes to something similar to the field value:
Copy link to clipboard
Copied
Thanks.
Challenge is it keeps on changing whenever I edit anything in that topic where I inserted this field. So, I was just looking for a way where I can fix the field.
Copy link to clipboard
Copied
Assuming Robohelp Classic, try double-clicking on the field and unticking the "Auto-update this field" checkbox.
Copy link to clipboard
Copied
I tried it. This is how the code looks like now:
<?rh-variable_start name="date"
format="yyyy" showcode="showcode" value="43958.542095" constant="TRUE" ?>
There is one more item Constant now.
Copy link to clipboard
Copied
Does that fix your issue?