Micro forum,
MicroBasic Pro for Pic version 7.1.0.
I'm trying to use Time_dateToEpoch on a windows system but the time
structure is always empty. Does this only work on Unix systems?
Thanks for any replies.
Jerryd
Time_dateToEpoch
- danilo.milovic
- mikroElektronika team
- Posts: 501
- Joined: 05 Dec 2016 14:59
Re: Time_dateToEpoch
Hi,
can you send me whole project folder in .zip archive so I can try to reproduce the issue.
Regards,
Danilo
can you send me whole project folder in .zip archive so I can try to reproduce the issue.
Regards,
Danilo
Re: Time_dateToEpoch
danilo.milovic,
Thanks for the reply.
My program is just a few lines and is mostly copied from the help
list of "Miscellaneous Libraries > Time Library".
The device I specified is 16F88.
Here is the code.
program Time
' Declarations section
dim ts1 as TimeStruct
Epoch as longint
main:
' Main Program
epoch = Time_dateToEpoch(@ts1)
nop
end.
I run this in debug mode stopping on the "nop" and expand ts1 which
is always all zeros except wd which is 6.
Do you need more?
Jerryd
Thanks for the reply.
My program is just a few lines and is mostly copied from the help
list of "Miscellaneous Libraries > Time Library".
The device I specified is 16F88.
Here is the code.
program Time
' Declarations section
dim ts1 as TimeStruct
Epoch as longint
main:
' Main Program
epoch = Time_dateToEpoch(@ts1)
nop
end.
I run this in debug mode stopping on the "nop" and expand ts1 which
is always all zeros except wd which is 6.
Do you need more?
Jerryd
- danilo.milovic
- mikroElektronika team
- Posts: 501
- Joined: 05 Dec 2016 14:59
Re: Time_dateToEpoch
Hi,
please send whole project folder not just the code.
Regards,
Danilo
please send whole project folder not just the code.
Regards,
Danilo
Re: Time_dateToEpoch
Danilo,
Here's my folder.
First time I did this so I hope it worked.
Jerryd
Here's my folder.
First time I did this so I hope it worked.
Jerryd
- danilo.milovic
- mikroElektronika team
- Posts: 501
- Joined: 05 Dec 2016 14:59
Re: Time_dateToEpoch
Hi Jerryd,
unfortunately you didn't sent the file, under the space where you write the post you have options, choose file and add the file.
Regards,
Danilo
unfortunately you didn't sent the file, under the space where you write the post you have options, choose file and add the file.
Regards,
Danilo
Re: Time_dateToEpoch
I tried to attach my Time.mbppi but it wasn't allowed so here it is in a text version.
I must be doing something wrong because I browsed and selected a file and got a message that
it was being uploaded but now I don't see it attached here.
Maybe someone can tell me what I'm doing wrong?
I must be doing something wrong because I browsed and selected a file and got a message that
it was being uploaded but now I don't see it attached here.
Maybe someone can tell me what I'm doing wrong?
- danilo.milovic
- mikroElektronika team
- Posts: 501
- Joined: 05 Dec 2016 14:59
Re: Time_dateToEpoch
Hi,
you need to add whole project folder not just Time.mbppi in .zip archive, then you will be able to send the file.
Regards,
Danilo
you need to add whole project folder not just Time.mbppi in .zip archive, then you will be able to send the file.
Regards,
Danilo
Re: Time_dateToEpoch
Just can't seem to attach a file or complete folder. I click on "browse" next to filename, navigate
to the folder and click Open which just opens the folder and shows all the files. I expected that
to put the time folder name next to "Browse" and then I could click on "Add the File". None of this
happens?
Still struggling.
to the folder and click Open which just opens the folder and shows all the files. I expected that
to put the time folder name next to "Browse" and then I could click on "Add the File". None of this
happens?
Still struggling.